1 #ifndef MSP_GRAPHICS_JPEGLOADER_H_
2 #define MSP_GRAPHICS_JPEGLOADER_H_
4 #include <msp/graphics/imageloader.h>
9 class JpegLoader: public ImageLoader
14 Private *priv = nullptr;
17 JpegLoader(IO::Seekable &);
20 static unsigned get_signature_size() { return 3; }
21 static bool detect(const std::string &);
23 void load_headers_(Image::Data &) override;
24 void load_pixels_(Image::Data &) override;
27 } // namespace Graphics