Pixel Storage Types
The following structures are defined for storing pixel data:
typedef struct {
BYTE r,g,b;
} BMM_Color_24;
This is used for storing 24 bit color: 8 bits each for Red, Green, and Blue.
typedef struct {
BYTE r,g,b,a;
} BMM_Color_32;
This is used for storing 32 bit color: 8 bits each for Red, Green, Blue, and Alpha.
typedef struct {
WORD r,g,b;
} BMM_Color_48;
This is used for storing 48 bit color: 16 bits each for Red, Green, and Blue.
typedef struct {
WORD r,g,b,a;
} BMM_Color_64;
This is used for storing 64 bit color: 16 bits each for Red, Green, Blue, and Alpha.