1 #ifndef MSP_GRAPHICS_PNGLOADER_H_
2 #define MSP_GRAPHICS_PNGLOADER_H_
4 #include <msp/graphics/imageloader.h>
9 class PngLoader: public ImageLoader
16 static Register<PngLoader> reg;
19 PngLoader(IO::Base &, unsigned = 0);
22 static unsigned get_signature_size() { return 8; }
23 static bool detect(const std::string &);
25 virtual void load(Image::Data &);
28 } // namespace Graphics