Decoder for BMP images.
Used in engines:
Classes | |
| class | Image::BitmapDecoder |
Functions | |
| bool | Image::writeBMP (Common::WriteStream &out, const Graphics::Surface &input, const byte *palette=nullptr) |
| bool | Image::writePalettedBMP (Common::WriteStream &out, const Graphics::Surface &surface, const byte *palette) |
| bool Image::writeBMP | ( | Common::WriteStream & | out, |
| const Graphics::Surface & | input, | ||
| const byte * | palette = nullptr |
||
| ) |
Outputs an uncompressed BMP stream of the given input surface.
| bool Image::writePalettedBMP | ( | Common::WriteStream & | out, |
| const Graphics::Surface & | surface, | ||
| const byte * | palette | ||
| ) |
Outputs an uncompressed BMP stream of the given paletted input surface, without converting it to 24 bpp.