#include <imageloader_u4.h>
Public Member Functions | |
Image * | load (Common::SeekableReadStream &stream, int width, int height, int bpp) override |
Additional Inherited Members | |
Static Protected Member Functions inherited from Ultima::Ultima4::ImageLoader | |
static void | setFromRawData (Image *image, int width, int height, int bpp, const byte *rawData) |
static void | setFromSurface (Image *image, const Graphics::ManagedSurface &src) |
Loader for U4 images with RLE compression. Like raw images, the data is just a stream of pixel data with no palette information (e.g. start.ega, rune_*.ega). This loader handles the original 4-bit images, as well as the 8-bit VGA upgrade images.