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, uint paletteCount=256) |
| bool | Image::writeBMP (Common::WriteStream &out, const Graphics::Surface &input, const Graphics::Palette &palette) |
| bool Image::writeBMP | ( | Common::WriteStream & | out, |
| const Graphics::Surface & | input, | ||
| const byte * | palette = nullptr, |
||
| uint | paletteCount = 256 |
||
| ) |
Outputs an uncompressed BMP stream of the given input surface.
| out | Stream to which to write the BMP image. |
| input | The surface to save as a BMP image.. |
| palette | The palette (in RGB888), if the source format has a bpp of 1. |
| paletteCount | Number of colors in the palette (default: 256). |
| bool Image::writeBMP | ( | Common::WriteStream & | out, |
| const Graphics::Surface & | input, | ||
| const Graphics::Palette & | palette | ||
| ) |
Outputs an uncompressed BMP stream of the given input surface.
| out | Stream to which to write the BMP image. |
| input | The surface to save as a BMP image.. |
| palette | The palette if the source format has a bpp of 1. |