1 #ifndef MSP_GRAPHICS_PNGLOADER_H_
2 #define MSP_GRAPHICS_PNGLOADER_H_
4 #include <msp/graphics/imageloader.h>
5 #include <msp/graphics/mspgui_api.h>
10 class MSPGUI_API PngLoader: public ImageLoader
15 Private *priv = nullptr;
18 PngLoader(IO::Base &, unsigned = 0);
21 static unsigned get_signature_size() { return 8; }
22 static bool detect(const std::string &);
24 void load_headers_(Image::Data &) override;
25 void load_pixels_(Image::Data &) override;
28 } // namespace Graphics