BMP (Windows) Header Format.
Data Fields | |
uint16_t | bits |
number of bits per pixel (1, 4, 8, 16, 24, 32) More... | |
uint32_t | colours |
number of colors in image, or zero More... | |
uint32_t | compression |
compression type (0=none, 1=RLE-8, 2=RLE-4) More... | |
uint32_t | file_size |
size of BMP file in bytes (unreliable) More... | |
uint32_t | h_resolution |
horizontal resolution in pixels per meter More... | |
uint32_t | header_size |
size of BITMAPINFOHEADER structure, must be 40 More... | |
uint32_t | height |
image height in pixels More... | |
uint32_t | important_colors |
number of important colors, or zero More... | |
uint32_t | inage_size |
size of image data in bytes (including padding) More... | |
uint32_t | offset |
offset to start of image data in bytes More... | |
uint16_t | planes |
number of planes in the image, must be 1 More... | |
uint16_t | reserved1 |
reserved, must be zero More... | |
uint16_t | reserved2 |
reserved, must be zero More... | |
uint16_t | type |
signature, must be 4D42 hex More... | |
uint32_t | v_resolution |
vertical resolution in pixels per meter More... | |
uint32_t | width |
image width in pixels More... | |
uint16_t bmpfile_header::bits |
number of bits per pixel (1, 4, 8, 16, 24, 32)
uint32_t bmpfile_header::colours |
number of colors in image, or zero
uint32_t bmpfile_header::compression |
compression type (0=none, 1=RLE-8, 2=RLE-4)
uint32_t bmpfile_header::file_size |
size of BMP file in bytes (unreliable)
uint32_t bmpfile_header::h_resolution |
horizontal resolution in pixels per meter
uint32_t bmpfile_header::header_size |
size of BITMAPINFOHEADER structure, must be 40
uint32_t bmpfile_header::height |
image height in pixels
Referenced by gfx_draw_bmpfile().
uint32_t bmpfile_header::important_colors |
number of important colors, or zero
uint32_t bmpfile_header::inage_size |
size of image data in bytes (including padding)
uint32_t bmpfile_header::offset |
offset to start of image data in bytes
uint16_t bmpfile_header::planes |
number of planes in the image, must be 1
uint16_t bmpfile_header::reserved1 |
reserved, must be zero
uint16_t bmpfile_header::reserved2 |
reserved, must be zero
uint16_t bmpfile_header::type |
signature, must be 4D42 hex
uint32_t bmpfile_header::v_resolution |
vertical resolution in pixels per meter
uint32_t bmpfile_header::width |
image width in pixels
Referenced by gfx_draw_bmpfile().