BMP Module header structure.
Must be packed to exact 54 bytes.
Public Attributes#
Magic identifier: "BM" (for bmp files)
Size of the bmp file in bytes.
Reserved 1.
Reserved 2.
Data offset relative to the start of the bmp data.
Header size in bytes.
Width of bmp.
Height of bmp.
Color planes.
Color depth.
Compression type.
Size of raw BMP data.
Horizontal resolution (pixels per meter)
Vertical resolution (pixels per meter)
Number of color indices in the color table that are actually used by the bitmap.
Number of color indices that are required for displaying the bitmap.
Public Attribute Documentation#
magic#
uint16_t BMP_Header::magic
Magic identifier: "BM" (for bmp files)
115
of file platform/middleware/glib/glib/bmp.h
fileSize#
uint32_t BMP_Header::fileSize
Size of the bmp file in bytes.
117
of file platform/middleware/glib/glib/bmp.h
reserved1#
uint16_t BMP_Header::reserved1
Reserved 1.
119
of file platform/middleware/glib/glib/bmp.h
reserved2#
uint16_t BMP_Header::reserved2
Reserved 2.
121
of file platform/middleware/glib/glib/bmp.h
dataOffset#
uint32_t BMP_Header::dataOffset
Data offset relative to the start of the bmp data.
123
of file platform/middleware/glib/glib/bmp.h
headerSize#
uint32_t BMP_Header::headerSize
Header size in bytes.
125
of file platform/middleware/glib/glib/bmp.h
width#
uint32_t BMP_Header::width
Width of bmp.
127
of file platform/middleware/glib/glib/bmp.h
height#
uint32_t BMP_Header::height
Height of bmp.
129
of file platform/middleware/glib/glib/bmp.h
colorPlanes#
uint16_t BMP_Header::colorPlanes
Color planes.
131
of file platform/middleware/glib/glib/bmp.h
bitsPerPixel#
uint16_t BMP_Header::bitsPerPixel
Color depth.
133
of file platform/middleware/glib/glib/bmp.h
compressionType#
uint32_t BMP_Header::compressionType
Compression type.
135
of file platform/middleware/glib/glib/bmp.h
imageDataSize#
uint32_t BMP_Header::imageDataSize
Size of raw BMP data.
137
of file platform/middleware/glib/glib/bmp.h
hPixelsPerMeter#
uint32_t BMP_Header::hPixelsPerMeter
Horizontal resolution (pixels per meter)
139
of file platform/middleware/glib/glib/bmp.h
vPixelsPerMeter#
uint32_t BMP_Header::vPixelsPerMeter
Vertical resolution (pixels per meter)
141
of file platform/middleware/glib/glib/bmp.h
colorsUsed#
uint32_t BMP_Header::colorsUsed
Number of color indices in the color table that are actually used by the bitmap.
143
of file platform/middleware/glib/glib/bmp.h
colorsRequired#
uint32_t BMP_Header::colorsRequired
Number of color indices that are required for displaying the bitmap.
145
of file platform/middleware/glib/glib/bmp.h