Public Member Functions | |
FMTOWNSImageDecoder (int width, int height, int bpp, int offset) | |
bool | loadStream (Common::SeekableReadStream &stream) override |
![]() | |
U4ImageDecoder (int width, int height, int bpp) | |
void | destroy () override |
const Graphics::Surface * | getSurface () const override |
const byte * | getPalette () const override |
uint16 | getPaletteColorCount () const override |
![]() | |
virtual bool | hasPalette () const |
virtual bool | hasTransparentColor () const |
virtual uint32 | getTransparentColor () const |
Protected Attributes | |
int | _offset |
![]() | |
Graphics::Surface * | _surface |
const byte * | _palette |
uint16 | _paletteColorCount |
int | _width |
int | _height |
int | _bpp |
Additional Inherited Members | |
![]() | |
void | setFromRawData (const byte *rawData) |
Graphics::PixelFormat | getPixelFormatForBpp () const |
|
overridevirtual |
Load an image from the specified stream.
loadStream() should implicitly call destroy() to free the memory of the last loadStream() call.
stream | Input stream. |
Implements Image::ImageDecoder.