Slot Summary |
file_type1 00h Must be 'B'
|
file_type2 01h Must be 'M'
|
file_size 02h Size of file
|
reserved 06h
|
map_bitmap_offset 0Ah Offset of the data section
Bitmap Header
|
header_size 0Eh Size of this header
|
map_width 12h width (in pixel) of the image
|
map_height 16h height (in pixel)
|
planes 1Ah number of planes use (always 1)
|
map_bits_per_pixel 1Ch number of bits per pixel (1,4,8,16,24,32)
|
compression 1Eh compression method:
0: no compression
1: 8-bit run length encoding
2: 4-bit run length encoding
3: bitfields encoding
|
size_of_bitmap 22h size of image (in octet), useful for compression
|
h_resolution 26h horizontal resolution (in pixel per meter)
|
v_resolution 2Ah vertical resolution (in pixel per meter)
|
colors_used 2Eh number of colors
|
colors_important 32h number of important colors
|
bits_per_pixel |
width |
height |
bitmap_offset |
file_type |
is_valid |
is_bgr_format |
get_nb_colors |
is_1bit |
is_4bit |
is_8bit |
is_24bit |
is_rle8_compressed |
print |