Important: The information in this document is obsolete and should not be used for new development.
Fixed XYZ Color Value
ColorSync uses theCMFixedXYZColor
data type to specify the profile illuminant in the profile header'swhite
field and to specify other profile element values. Color component values defined by theFixed
type definition can be used to specify a color value in the XYZ color space with greater precision than a color whose components are expressed asCMXYZComponent
data types. TheFixed
data type is a signed 32-bit value. A color value expressed in the XYZ color space whose color components are of typeFixed
is defined by theCMFixedXYZColor
type definition.Your application can convert colors defined in the XYZ color space between
CMXYZColor
data types (in which the color components are expressed as 16-bit unsigned values) andCMFixedXYZColor
data types (in which the colors are expressed as 32-bit signed values). To convert color values, you use theCMConvertFixedXYZToXYZ
function (page 3-152) and theCMXYZToFixedXYZ
function (page 3-151).
struct CMFixedXYZColor { Fixed X; /* Fixed X component of color in XYZ color space */ Fixed Y; /* Fixed Y component of color in XYZ color space */ Fixed Z; /* Fixed Z component of color in XYZ color space */ };