![]() |
PATH![]() |
![]() ![]() |
The following enumeration defines constants for color spaces which can specify color values for a bitmap image. As a rule, these constants include a packing format, defined in Color Packing for Color Spaces . You can use these constants to set the space field of the CMBitmap type definition identifies the color space in which the colors of the bitmap image are specified, as described in Abstract Color Space Constants .
enum {
cmGray16Space = cmGraySpace,
cmGrayA32Space = cmGrayASpace,
cmRGB16Space = cmWord5ColorPacking + cmRGBSpace,
cmRGB24Space = cm24_8ColorPacking + cmRGBSpace,
cmRGB32Space = cm32_8ColorPacking + cmRGBSpace,
cmRGB48Space = cm48_16ColorPacking + cmRGBSpace,
cmARGB32Space = cm32_8ColorPacking + cmAlphaFirstPacking + cmRGBASpace,
cmRGBA32Space = cm32_8ColorPacking + cmAlphaFirstPacking + cmRGBASpace,
cmCMYK32Space = cm32_8ColorPacking + cmCMYKSpace,
cmCMYK64Space = cm64_16ColorPacking + cmCMYKSpace,
cmHSV32Space = cmLong10ColorPacking + cmHSVSpace,
cmHLS32Space = cmLong10ColorPacking + cmHLSSpace,
cmYXY32Space = cmLong10ColorPacking + cmYXYSpace,
cmXYZ32Space = cmLong10ColorPacking + cmXYZSpace,
cmLUV32Space = cmLong10ColorPacking + cmLUVSpace,
cmLAB24Space = cm24_8ColorPacking + cmLABSpace,
cmLAB32Space = cmLong10ColorPacking + cmLABSpace,
cmLAB48Space = cm48_16ColorPacking + cmLABSpace,
cmGamutResult1Space = cmOneBitDirectPacking + cmGamutResultSpace
cmNamedIndexed32Space = cm32_32ColorPacking + cmNamedIndexedSpace,
cmMCFive8Space = cm40_8ColorPacking + cmMCFiveSpace,
cmMCSix8Space = cm48_8ColorPacking + cmMCSixSpace,
cmMCSeven8Space = cm56_8ColorPacking + cmMCSevenSpace,
cmMCEight8Space = cm64_8ColorPacking + cmMCEightSpace
};
CWCheckBitMap
, with 1-bit direct packing. A pixel in the returned bitmap with value 1 (displayed as black) indicates an out-of-gamut color, while a pixel value of 0 (white) indicates a color that is in gamut.The constants cmRGBASpace and cmGrayASpace were moved to Abstract Color Space Constants in ColorSync version 2.5.
The constants cmGray16Space , cmGrayA32Space , cmRGB48Space , cmCMYK64Space , and cmLAB48Space were added in ColorSync version 2.5.