Public ( Name ) |
Type |
Description |
bits |
unsigned short
|
number of bits per pixel (1, 4, 8, 16, 24, 32)
|
compression |
unsigned int
|
compression type (0=none, 1=RLE-8, 2=RLE-4)
|
fileSize |
unsigned int
|
size of BMP file in bytes (unreliable)
|
headerSize |
unsigned int
|
size of BITMAPINFOHEADER structure, must be 40
|
height |
unsigned int
|
image height in pixels
|
imageSize |
unsigned int
|
size of image data in bytes (including padding)
|
importantcolours |
unsigned int
|
number of important colors, or zero
|
ncolours |
unsigned int
|
number of colors in image, or zero
|
offset |
unsigned int
|
offset to start of image data in bytes
|
planes |
unsigned short
|
number of planes in the image, must be 1
|
reserved1 |
unsigned short
|
reserved, must be zero
|
reserved2 |
unsigned short
|
reserved, must be zero
|
type |
unsigned short
|
signature, must be 4D42 hex
|
width |
unsigned int
|
image width in pixels
|
xresolution |
unsigned int
|
horizontal resolution in pixels per meter (unreliable)
|
yresolution |
unsigned int
|
vertical resolution in pixels per meter (unreliable)
|