#include <imageloader.h>
Public Member Functions | |
virtual Image * | load (Common::SeekableReadStream &stream, int width, int height, int bpp)=0 |
Static Protected Member Functions | |
static void | setFromRawData (Image *image, int width, int height, int bpp, const byte *rawData) |
static void | setFromSurface (Image *image, const Graphics::ManagedSurface &src) |
The generic image loader interface. Image loaders should override the load method to load an image from a U4FILE and register themselves with registerLoader. By convention, the type parameter of load and registerLoader is the standard mime type of the image file (e.g. image/png) or an xu4 specific mime type (e.g. image/x-u4...).
|
staticprotected |
Fill in the image pixel data from an uncompressed string of bytes.
|
staticprotected |
Sets the image from a source image