Add support for saving WebP images

This commit is contained in:
Aaron Franke 2022-06-04 16:05:55 -05:00
parent fdfbaf9f0f
commit 8f05bd97b5
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF
10 changed files with 441 additions and 177 deletions

View file

@ -33,11 +33,11 @@
#include "core/io/image_loader.h"
class ImageLoaderWEBP : public ImageFormatLoader {
class ImageLoaderWebP : public ImageFormatLoader {
public:
virtual Error load_image(Ref<Image> p_image, Ref<FileAccess> f, bool p_force_linear, float p_scale);
virtual void get_recognized_extensions(List<String> *p_extensions) const;
ImageLoaderWEBP();
ImageLoaderWebP();
};
#endif