Bitmap file information header.
Starts after the file header and is 40 bytes long, in little endian and packed.
Data Fields | |
unsigned short | biBitCount |
Number of bits per pixel, which is the color depth of the image. Typical values are 1, 4, 8, 16, 24 and 32. More... | |
unsigned int | biClrImportant |
unsigned int | biClrUsed |
unsigned int | biCompression |
Define the compression method being used 0 (BI_RGB): No compression 1 (BI_RLE8): 2 (BI_RLE4): 3 (BI_BITFIELDS): More... | |
int | biHeight |
Height of the bitmap in pixels If this value is positive -> "bottom-up"-bitmap (picture data starts with the bottom line and ends with the top line) If this value is negative ->"top-down"-Bitmap (picture data starts with the top line and ends with the bottom line) More... | |
unsigned short | biPlanes |
Number of color planes being used. Not often used. More... | |
unsigned int | biSize |
Size of the information header. More... | |
unsigned int | biSizeImage |
Image size. This is the size of the raw bitmap data. More... | |
int | biWidth |
Width of the bitmap in pixels. More... | |
int | biXPelsPerMeter |
Horizontal resolution. More... | |
int | biYPelsPerMeter |
Vertical resolution. More... | |
unsigned short bm_info_header_s::biBitCount |
Number of bits per pixel, which is the color depth of the image. Typical values are 1, 4, 8, 16, 24 and 32.
unsigned int bm_info_header_s::biClrImportant |
unsigned int bm_info_header_s::biClrUsed |
unsigned int bm_info_header_s::biCompression |
Define the compression method being used 0 (BI_RGB): No compression 1 (BI_RLE8): 2 (BI_RLE4): 3 (BI_BITFIELDS):
int bm_info_header_s::biHeight |
Height of the bitmap in pixels If this value is positive -> "bottom-up"-bitmap (picture data starts with the bottom line and ends with the top line) If this value is negative ->"top-down"-Bitmap (picture data starts with the top line and ends with the bottom line)
Referenced by load_sdram_data().
unsigned short bm_info_header_s::biPlanes |
Number of color planes being used. Not often used.
unsigned int bm_info_header_s::biSize |
Size of the information header.
unsigned int bm_info_header_s::biSizeImage |
Image size. This is the size of the raw bitmap data.
Referenced by load_sdram_data().
int bm_info_header_s::biWidth |
Width of the bitmap in pixels.
Referenced by load_sdram_data().
int bm_info_header_s::biXPelsPerMeter |
Horizontal resolution.
int bm_info_header_s::biYPelsPerMeter |
Vertical resolution.