Constant |
Value |
Description |
BM_10b_G3CH
|
&h0404 |
32 bits per pixel. 10 bits are used for each color channel. The 2 most significant bits are ignored.
|
BM_10b_Lab
|
&h0403 |
32 bits per pixel. 10 bits are used for each color channel. The 2 most significant bits are ignored.
|
BM_10b_RGB
|
9 |
32 bits per pixel. 10 bits are used for each color channel. The 2 most significant bits are ignored.
|
BM_10b_XYZ
|
&h0401 |
32 bits per pixel. 10 bits are used for each color channel. The 2 most significant bits are ignored.
|
BM_10b_Yxy
|
&h0402 |
32 bits per pixel. 10 bits are used for each color channel. The 2 most significant bits are ignored.
|
BM_16b_G3CH
|
&h0504 |
64 bits per pixel. 16 bits are used for the gray-scale value. Each of the three color channels uses 16 bits.
|
BM_16b_GRAY
|
&h0505 |
64 bits per pixel. 16 bits are used for the gray-scale value. All other bits are ignored.
|
BM_16b_Lab
|
&h0503 |
64 bits per pixel. 16 bits are used for the gray-scale value. Each of the three color channels uses 16 bits.
|
BM_16b_RGB
|
10 |
64 bits per pixel. 16 bits are used for the gray-scale value. Each of the three color channels uses 16 bits.
|
BM_16b_XYZ
|
&h0501 |
64 bits per pixel. 16 bits are used for the gray-scale value. Each of the three color channels uses 16 bits.
|
BM_16b_Yxy
|
&h0502 |
64 bits per pixel. 16 bits are used for the gray-scale value. Each of the three color channels uses 16 bits.
|
BM_32b_scARGB
|
&h0602 |
128 bits per pixel. 32 bits are used for each color channel, as defined by the IEEE 32-bit floating point standard.
|
BM_32b_scRGB
|
&h0601 |
96 bits per pixel. 32 bits are used for each color channel, as defined by the IEEE 32-bit floating point standard.
|
BM_565RGB
|
1 |
16 bits per pixel. 5 bits are used for red, 6 for green, and 5 for blue.
|
BM_5CHANNEL
|
&h0205 |
40 bits per pixel. 8 bits apiece are used for each channel.
|
BM_6CHANNEL
|
&h0206 |
48 bits per pixel. 8 bits apiece are used for each channel.
|
BM_7CHANNEL
|
&h0207 |
56 bits per pixel. 8 bits apiece are used for each channel.
|
BM_8CHANNEL
|
&h0208 |
64 bits per pixel. 8 bits apiece are used for each channel.
|
BM_BGRTRIPLETS
|
4 |
24 bits per pixel maximum. For three channel colors, such as red, green, and blue, the total size is 24 bits per pixel. For single channel colors, such as gray, the total size is 8 bits per pixel.
|
BM_CMYKQUADS
|
&h0020 |
32 bits per pixel. 8 bits are used for each color channel.
|
BM_G3CHTRIPLETS
|
&h0204 |
24 bits per pixel maximum. For three channel values, the total size is 24 bits per pixel. For single channel gray scale, the total size is 8 bits per pixel.
|
BM_GRAY
|
&h0209 |
32 bits per pixel. Only the 8 bit gray-scale value is used.
|
BM_KYMCQUADS
|
&h0305 |
32 bits per pixel. 8 bits are used for each color channel.
|
BM_LabTRIPLETS
|
&h0203 |
24 bits per pixel maximum. For three channel, L, a, and b values, the total size is 24 bits per pixel. For single channel gray scale, the total size is 8 bits per pixel.
|
BM_NAMED_INDEX
|
&h0405 |
32 bits per pixel. Named color indices. Index numbering begins at one.
|
BM_R10G10B10A2
|
&h0701 |
Only in Windows Vista.
|
BM_R10G10B10A2_XR
|
&h0702 |
Only in Windows Vista.
|
BM_R16G16B16A16_FLOAT
|
&h0703 |
Only in Windows Vista.
|
BM_RGBTRIPLETS
|
2 |
24 bits per pixel maximum. For three channel colors, such as red, green, and blue, the total size is 24 bits per pixel. For single channel colors, such as gray, the total size is 8 bits per pixel.
|
BM_S2DOT13FIXED_scARGB
|
&h0604 |
64 bits per pixel. Color data is stored as one 16-bit word per channel, with a fixed range of -4 to +4, inclusive. A signed format is used, with 1 bit for the sign, 2 bits for the integer portion, and 13 bits for the fractional portion.
|
BM_S2DOT13FIXED_scRGB
|
&h0603 |
48 bits per pixel. Color data is stored as one 16-bit word per channel, with a fixed range of -4 to +4, inclusive. A signed format is used, with 1 bit for the sign, 2 bits for the integer portion, and 13 bits for the fractional portion.
|
BM_x555G3CH
|
&h0104 |
16 bits per pixel. G3CH color space. 5 bits per channel. The most significant bit is ignored.
|
BM_x555Lab
|
&h0103 |
16 bits per pixel. Lab color space. 5 bits per channel. The most significant bit is ignored.
|
BM_x555RGB
|
0 |
16 bits per pixel. RGB color space. 5 bits per channel. The most significant bit is ignored.
|
BM_x555XYZ
|
&h0101 |
16 bits per pixel. Yxy color space. 5 bits per channel. The most significant bit is ignored.
|
BM_x555Yxy
|
&h0102 |
16 bits per pixel. Yxy color space. 5 bits per channel. The most significant bit is ignored.
|
BM_xBGRQUADS
|
&h0010 |
32 bits per pixel. 8 bits are used for each color channel. The most significant byte is ignored.
|
BM_xG3CHQUADS
|
&h0304 |
32 bits per pixel. 8 bits are used for each color channel. The most significant byte is ignored.
|
BM_xRGBQUADS
|
&h0008 |
32 bits per pixel. 8 bits are used for each color channel. The most significant byte is ignored.
|
BM_XYZTRIPLETS
|
&h0201 |
24 bits per pixel maximum. For three channel colors, such as red, green, and blue, the total size is 24 bits per pixel. For single channel colors, such as gray, the total size is 8 bits per pixel.
|
BM_YxyTRIPLETS
|
&h0202 |
24 bits per pixel maximum. For three channel, Y, x, and y values, the total size is 24 bits per pixel. For single channel gray scale, the total size is 8 bits per pixel.
|