27 std::vector<Colour> palette;
28 std::vector<uint8_t> bitmap;
A file from which bytes, words and double words are read in (potentially) a random order.
Types related to the graphics and/or input devices.
Class related to random access to files.
uint32_t height
bitmap height
uint32_t width
bitmap width
uint32_t compression
compression method (0 = none, 1 = 8-bit RLE, 2 = 4-bit RLE)
uint32_t palette_size
number of colours in palette
uint16_t bpp
bits per pixel
size_t offset
offset of bitmap data from .bmp file beginning
bool os2_bmp
true if OS/2 1.x or windows 2.x bitmap