1 #ifndef MSP_GRAPHICS_IMAGE_H_
2 #define MSP_GRAPHICS_IMAGE_H_
6 #include <msp/io/seekable.h>
7 #include "pixelformat.h"
32 void load_file(const std::string &);
33 void load_io(IO::Seekable &);
34 void load(ImageLoader &);
36 PixelFormat get_format() const { return data.fmt; }
37 unsigned get_width() const { return data.width; }
38 unsigned get_height() const { return data.height; }
39 const void *get_data() const { return data.data; }
42 } // namespace Graphics