Code: Select all
(void) WriteBlobLSBLong(image,0x00000001U); /* CSType==Calib. RGB */
Code: Select all
#define LCS_CALIBRATED_RGB 0x00000000L
This value indicates that endpoints and gamma values are given in the appropriate fields.
#define LCS_sRGB 'sRGB' // = 0x73524742
This value implies that the bitmap is in sRGB color space.
...
But it may not be as simple as that. A web search suggests that older documentation gave a different set of options:
Code: Select all
LCS_CALIBRATED_RGB 0
The DIB uses the normalized sRGB colour space defined by ICM
LCS_DEVICE_RGB 1
The DIB uses the device dependent RGB colour space defined by a display device.
This is the definition used by the older BITMAPINFOHEADER.
LCS_DEVICE_CMYK 2
The DIB uses the device dependent CMYK colour space defined by a printer.
Aside: I observe that this older definition of LCS_CALIBRATED_RGB is different from, and incompatible with, the current definition.