Data Fields | |
unsigned short | type |
unsigned long | file_size |
unsigned short | reserved_1 |
unsigned short | reserved_2 |
unsigned long | offset |
unsigned long | header_size |
unsigned long | width |
unsigned long | height |
unsigned short | planes |
unsigned short | bits |
unsigned long | compression |
unsigned long | imagesize |
unsigned long | x_resolution |
unsigned long | y_resolution |
unsigned long | n_colors |
unsigned long | important_colors |
unsigned short bmp_header::type |
Magic identifier.
unsigned long bmp_header::file_size |
File size in bytes.
unsigned short bmp_header::reserved_1 |
unsigned short bmp_header::reserved_2 |
unsigned long bmp_header::offset |
Offset to image data, bytes.
unsigned long bmp_header::header_size |
Header size in bytes.
unsigned long bmp_header::width |
Width of image.
unsigned long bmp_header::height |
Height of image.
unsigned short bmp_header::planes |
Number of color planes.
unsigned short bmp_header::bits |
Bits per pixel.
unsigned long bmp_header::compression |
Compression type.
unsigned long bmp_header::imagesize |
Image size in bytes.
unsigned long bmp_header::x_resolution |
X pixels per meter.
unsigned long bmp_header::y_resolution |
Y pixels per meter.
unsigned long bmp_header::n_colors |
Number of colors.
unsigned long bmp_header::important_colors |
Important colors.