LisaacTM Platform

BMP_HEADER


Mapping BMP Image File Header structure
Inherit/Insert Summary
parent_object No developed.
 
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
 

Inherit/Insert Detail

parent_object

.../extra/graphics/format/bmp/bmp_header.li line #12

Section:
Inherit

Profile:
- SelfSELFparent_object : OBJECT

Detail slot

file_type1

.../extra/graphics/format/bmp/bmp_header.li line #20

Section:
Mapping

Profile:
+ SelfSELFfile_type1 : CHARACTER

Description:
00h Must be 'B'

file_type2

.../extra/graphics/format/bmp/bmp_header.li line #21

Section:
Mapping

Profile:
+ SelfSELFfile_type2 : CHARACTER

Description:
01h Must be 'M'

file_size

.../extra/graphics/format/bmp/bmp_header.li line #22

Section:
Mapping

Profile:
+ SelfSELFfile_size : UINTEGER_32

Description:
02h Size of file

reserved

.../extra/graphics/format/bmp/bmp_header.li line #23

Section:
Mapping

Profile:
+ SelfSELFreserved : UINTEGER_32

Description:
06h

map_bitmap_offset

.../extra/graphics/format/bmp/bmp_header.li line #24

Section:
Mapping

Profile:
+ SelfSELFmap_bitmap_offset : UINTEGER_32

Description:
0Ah Offset of the data section
Bitmap Header

header_size

.../extra/graphics/format/bmp/bmp_header.li line #30

Section:
Mapping

Profile:
+ SelfSELFheader_size : UINTEGER_32

Description:
0Eh Size of this header

map_width

.../extra/graphics/format/bmp/bmp_header.li line #31

Section:
Mapping

Profile:
+ SelfSELFmap_width : INTEGER

Description:
12h width (in pixel) of the image

map_height

.../extra/graphics/format/bmp/bmp_header.li line #32

Section:
Mapping

Profile:
+ SelfSELFmap_height : INTEGER

Description:
16h height (in pixel)

planes

.../extra/graphics/format/bmp/bmp_header.li line #33

Section:
Mapping

Profile:
+ SelfSELFplanes : UINTEGER_16

Description:
1Ah number of planes use (always 1)

map_bits_per_pixel

.../extra/graphics/format/bmp/bmp_header.li line #34

Section:
Mapping

Profile:
+ SelfSELFmap_bits_per_pixel : UINTEGER_16

Description:
1Ch number of bits per pixel (1,4,8,16,24,32)

compression

.../extra/graphics/format/bmp/bmp_header.li line #35

Section:
Mapping

Profile:
+ SelfSELFcompression : UINTEGER_32

Description:
1Eh compression method: 0: no compression 1: 8-bit run length encoding 2: 4-bit run length encoding 3: bitfields encoding

size_of_bitmap

.../extra/graphics/format/bmp/bmp_header.li line #41

Section:
Mapping

Profile:
+ SelfSELFsize_of_bitmap : UINTEGER_32

Description:
22h size of image (in octet), useful for compression

h_resolution

.../extra/graphics/format/bmp/bmp_header.li line #42

Section:
Mapping

Profile:
+ SelfSELFh_resolution : UINTEGER_32

Description:
26h horizontal resolution (in pixel per meter)

v_resolution

.../extra/graphics/format/bmp/bmp_header.li line #43

Section:
Mapping

Profile:
+ SelfSELFv_resolution : UINTEGER_32

Description:
2Ah vertical resolution (in pixel per meter)

colors_used

.../extra/graphics/format/bmp/bmp_header.li line #44

Section:
Mapping

Profile:
+ SelfSELFcolors_used : UINTEGER_32

Description:
2Eh number of colors

colors_important

.../extra/graphics/format/bmp/bmp_header.li line #45

Section:
Mapping

Profile:
+ SelfSELFcolors_important : UINTEGER_32

Description:
32h number of important colors

bits_per_pixel

.../extra/graphics/format/bmp/bmp_header.li line #49

Section:
Public

Profile:
- SelfSELFbits_per_pixel : UINTEGER_16

width

.../extra/graphics/format/bmp/bmp_header.li line #51

Section:
Public

Profile:
- SelfSELFwidth : INTEGER

height

.../extra/graphics/format/bmp/bmp_header.li line #52

Section:
Public

Profile:
- SelfSELFheight : INTEGER

bitmap_offset

.../extra/graphics/format/bmp/bmp_header.li line #53

Section:
Public

Profile:
- SelfSELFbitmap_offset : UINTEGER_32

file_type

.../extra/graphics/format/bmp/bmp_header.li line #55

Section:
Public

Profile:
- SelfSELFfile_type : STRING

is_valid

.../extra/graphics/format/bmp/bmp_header.li line #63

Section:
Public

Profile:
- SelfSELFis_valid : BOOLEAN

is_bgr_format

.../extra/graphics/format/bmp/bmp_header.li line #68

Section:
Public

Profile:
- SelfSELFis_bgr_format : BOOLEAN

get_nb_colors

.../extra/graphics/format/bmp/bmp_header.li line #73

Section:
Public

Profile:
- SelfSELFget_nb_colors : INTEGER

is_1bit

.../extra/graphics/format/bmp/bmp_header.li line #89

Section:
Public

Profile:
- SelfSELFis_1bit : BOOLEAN

is_4bit

.../extra/graphics/format/bmp/bmp_header.li line #94

Section:
Public

Profile:
- SelfSELFis_4bit : BOOLEAN

is_8bit

.../extra/graphics/format/bmp/bmp_header.li line #99

Section:
Public

Profile:
- SelfSELFis_8bit : BOOLEAN

is_24bit

.../extra/graphics/format/bmp/bmp_header.li line #104

Section:
Public

Profile:
- SelfSELFis_24bit : BOOLEAN

is_rle8_compressed

.../extra/graphics/format/bmp/bmp_header.li line #109

Section:
Public

Profile:
- SelfSELFis_rle8_compressed : BOOLEAN

print

.../extra/graphics/format/bmp/bmp_header.li line #114

Section:
Public

Profile:
- SelfSELFprint