#pragma once #include "./image_loader.hpp" struct ImageLoaderWebP : public ImageLoaderI { ImageInfo loadInfoFromMemory(const uint8_t* data, uint64_t data_size) override; ImageResult loadFromMemoryRGBA(const uint8_t* data, uint64_t data_size) override; }; struct ImageEncoderWebP : public ImageEncoderI { std::vector encodeToMemoryRGBA(const ImageResult& input_image, const std::map& extra_options = {}) override; };