TianoCore EDK2 master
Loading...
Searching...
No Matches
Bmp.h
Go to the documentation of this file.
1
9#ifndef _BMP_H_
10#define _BMP_H_
11
12#pragma pack(1)
13
14typedef struct {
15 UINT8 Blue;
16 UINT8 Green;
17 UINT8 Red;
18 UINT8 Reserved;
20
21typedef struct {
22 CHAR8 CharB;
23 CHAR8 CharM;
24 UINT32 Size;
25 UINT16 Reserved[2];
26 UINT32 ImageOffset;
27 UINT32 HeaderSize;
28 UINT32 PixelWidth;
29 UINT32 PixelHeight;
30 UINT16 Planes;
31 UINT16 BitPerPixel;
32 UINT32 CompressionType;
33 UINT32 ImageSize;
34 UINT32 XPixelsPerMeter;
35 UINT32 YPixelsPerMeter;
36 UINT32 NumberOfColors;
37 UINT32 ImportantColors;
39
40#pragma pack()
41
42#endif
UINT16 BitPerPixel
1, 4, 8, or 24
Definition: Bmp.h:31
UINT32 ImageSize
Compressed image size in bytes.
Definition: Bmp.h:33
UINT16 Planes
Must be 1.
Definition: Bmp.h:30