#ifndef IMAGE_LOADER_PNG_H #define IMAGE_LOADER_PNG_H /* image_loader_png.h */ #include "core/io/image_loader.h" class ImageLoaderPNG : public ImageFormatLoader { private: static PoolVector lossless_pack_png(const Ref &p_image); static Ref lossless_unpack_png(const PoolVector &p_data); static Ref load_mem_png(const uint8_t *p_png, int p_size); public: virtual Error load_image(Ref p_image, FileAccess *f, bool p_force_linear, float p_scale); virtual void get_recognized_extensions(List *p_extensions) const; ImageLoaderPNG(); }; #endif