1 #ifndef MSP_GRAPHICS_PNGLOADER_H_
2 #define MSP_GRAPHICS_PNGLOADER_H_
4 #include <msp/graphics/imageloader.h>
9 class PngLoader: public ImageLoader
17 PngLoader(IO::Base &, unsigned = 0);
20 static unsigned get_signature_size() { return 8; }
21 static bool detect(const std::string &);
23 virtual void load_headers_(Image::Data &);
24 virtual void load_pixels_(Image::Data &);
27 } // namespace Graphics