#include <genesis/utils/formats/bmp/writer.hpp>
Bitmap File Header.
This POD structure holds information about a Bitmap file. Usually, it is followed by a BitmapInfoheader.
The data is stored in the following order:
start | size | name | stdvalue | purpose |
---|---|---|---|---|
0 | 2 | bfType | 19778 | Must be 'BM' to declare that this is a .bmp-file. |
2 | 4 | bfSize | ?? | Size of the file in bytes, including headers, pixel data and padding. |
6 | 2 | bfReserved1 | 0 | Must be set to zero. |
8 | 2 | bfReserved2 | 0 | Must be set to zero. |
10 | 4 | bfOffBits | 54 | Offset from the start of the file to the pixel data. |
Definition at line 87 of file utils/formats/bmp/writer.hpp.
Public Attributes | |
uint32_t | bfOffBits = 14 + 40 |
uint16_t | bfReserved1 = 0 |
uint16_t | bfReserved2 = 0 |
uint32_t | bfSize |
uint16_t | bfType = 0x4D42 |
uint32_t bfOffBits = 14 + 40 |
Definition at line 93 of file utils/formats/bmp/writer.hpp.
uint16_t bfReserved1 = 0 |
Definition at line 91 of file utils/formats/bmp/writer.hpp.
uint16_t bfReserved2 = 0 |
Definition at line 92 of file utils/formats/bmp/writer.hpp.
uint32_t bfSize |
Definition at line 90 of file utils/formats/bmp/writer.hpp.
uint16_t bfType = 0x4D42 |
Definition at line 89 of file utils/formats/bmp/writer.hpp.