![]() |
Color Space Constants With Packing Formats |
Header: CMApplication.h |
enum { cmGray8Space = 10250, cmGrayA16Space = 8330, cmGray16Space = 10, cmGrayA32Space = 138, cmGray16LSpace = 16394, cmGrayA32LSpace = 16522, cmRGB16Space = 1281, cmRGB16LSpace = 17665, cmRGB565Space = 1537, cmRGB565LSpace = 17921, cmRGB24Space = 8449, cmRGB32Space = 2049, cmRGB48Space = 10497, cmRGB48LSpace = 26881, cmARGB32Space = 6273, cmARGB64Space = 14977, cmARGB64LSpace = 31361, cmRGBA32Space = 2177, cmRGBA64Space = 10881, cmRGBA64LSpace = 27265, cmCMYK32Space = 2050, cmCMYK64Space = 10754, cmCMYK64LSpace = 27138, cmHSV32Space = 2563, cmHLS32Space = 2564, cmYXY32Space = 2565, cmXYZ24Space = 8454, cmXYZ32Space = 2566, cmXYZ48Space = 10502, cmXYZ48LSpace = 26886, cmLUV32Space = 2567, cmLAB24Space = 8456, cmLAB32Space = 2568, cmLAB48Space = 10504, cmLAB48LSpace = 26888, cmGamutResult1Space = 2828, cmNamedIndexed32Space = 10000, cmNamedIndexed32LSpace = 26384, cmMCFive8Space = 8721, cmMCSix8Space = 8978, cmMCSeven8Space = 9235, cmMCEight8Space = 9492 };
A luminance color space with a single 16-bit component, gray.
A luminance color space with two components, a gray component followed by an alpha channel component. Each component value is 16 bits.
An RGB color space composed of red, green, and blue components whose values are packed with 5 bits of storage per component. The storage size for a color value expressed in this color space is 16 bits, with the high-order bit not used.
An RGB color space composed of red, green, and blue components whose values are packed with 8 bits of storage per component. The storage size for a color value expressed in this color space is 24 bits.
An RGB color space composed of red, green, and blue components whose values are packed with 8 bits of storage per component. The storage size for a color value expressed in this color space is 32 bits, with bits 24-31 not used.
An RGB color space composed of red, green, and blue components whose values are packed with 16 bits of storage per component. The storage size for a color value expressed in this color space is 48 bits.
An RGB color space composed of red, green, and blue color value components preceded by an alpha channel component whose values are packed with 8 bits of storage per component. The storage size for a color value expressed in this color space is 32 bits.
An RGB color space composed of red, green, and blue color value components, followed by an alpha channel component. Values are packed with 8 bits of storage per component. The storage size for a color value expressed in this color space is 32 bits.
A CMYK color space composed of cyan, magenta, yellow, and black components whose values are packed with 8 bits of storage per component. The storage size for a color value expressed in this color space is 32 bits.
A CMYK color space composed of cyan, magenta, yellow, and black components whose values are packed with 16 bits of storage per component. The storage size for a color value expressed in this color space is 64 bits.
An HSV color space composed of hue, saturation, and value components whose values are packed with 10 bits of storage per component. The storage size for a color value expressed in this color space is 32 bits, with the high-order 2 bits not used.
An HLS color space composed of hue, lightness, and saturation components whose values are packed with 10 bits of storage per component. The storage size for a color value expressed in this color space is 32 bits, with the high-order 2 bits not used.
A Yxy color space composed of Y, x, and y components whose values are packed with 10 bits of storage per component. The storage size for a color value expressed in this color space is 32 bits, with the high-order 2 bits not used.
An XYZ color space composed of X, Y, and Z components whose values are packed with 10 bits per component. The storage size for a color value expressed in this color space is 32 bits, with the high-order 2 bits not used.
An L*u*v* color space composed of L*, u*, and v* components whose values are packed with 10 bits per component. The storage size for a color value expressed in this color space is 32 bits, with the high-order 2 bits not used.
An L*a*b* color space composed of L*, a*, and b* components whose values are packed with 8 bits per component. The storage size for a color value expressed in this color space is 24 bits. The 8-bit unsigned a* and b* channels are interpreted numerically as ranging from -128.0 to approximately 128.0.
An L*a*b* color space composed of L*, a*, and b* components whose values are packed with 10 bits per component. The storage size for a color value expressed in this color space is 32 bits, with the high-order 2 bits not used. The 10-bit unsigned a* and b* channels are interpreted numerically as ranging from -128.0 to approximately 128.0.
An L*a*b* color space composed of L*, a*, and b* components whose values are packed with 16 bits per component. The storage size for a color value expressed in this color space is 48 bits. The 16-bit unsigned a* and b* channels are interpreted numerically as ranging from -128.0 to approximately 128.0.
A gamut result color space for the resulting bitmap pointed to by the resultBitMap field of the function
A color space where each color is stored as a single 32-bit value, specifying an index into a named color space. The storage size for a color value expressed in this color space is 32 bits.
A five-channel multichannel (HiFi) data color space, whose values are packed with 8 bits per component. The storage size for a color value expressed in this color space is 40 bits.
A six-channel multichannel (HiFi) data color space, whose values are packed with 8 bits per component. The storage size for a color value expressed in this color space is 48 bits.
A seven-channel multichannel (HiFi) data color space, whose values are packed with 8 bits per component. The storage size for a color value expressed in this color space is 56 bits.
A eight-channel multichannel (HiFi) data color space, whose values are packed with 8 bits per component. The storage size for a color value expressed in this color space is 64 bits.
This 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
The constants cmRGBASpace and cmGrayASpace were moved to
The constants cmGray16Space, cmGrayA32Space, cmRGB48Space, cmCMYK64Space, and cmLAB48Space were added in ColorSync version 2.5.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)