- void load_io(IO::Base &);
- PixelFormat get_format() const;
- unsigned get_width() const;
- unsigned get_height() const;
- const void *get_data() const;
+ void load_io(IO::Seekable &);
+ void load(ImageLoader &);
+
+ PixelFormat get_format() const { return data.fmt; }
+ unsigned get_width() const { return data.width; }
+ unsigned get_height() const { return data.height; }
+ unsigned get_stride() const { return data.stride; }
+ const void *get_data() const { return data.data; }