Important: The information in this document is obsolete and should not be used for new development.
CMConvertLabToXYZ
Converts colors specified in the L*a*b* color space to the XYZ color space.
pascal CMError CMConvertLabToXYZ ( const CMColor *src, const CMXYZColor *white, CMColor *dst, unsigned long count);
src
- A pointer to a buffer containing the list of L*a*b* colors to convert to XYZ colors.
white
- A pointer to a reference white point.
dst
- A pointer to a buffer containing the list of colors as specified in the XYZ color space resulting from the conversion.
count
- The number of colors to convert.
- function result
- A result code of type CMError. See "Result Codes" (page 3-174) for a list of ColorSync-specific result codes.
DISCUSSION
TheCMConvertLabToXYZ
function converts one or more colors defined in the L*a*b color space to equivalent colors defined in the XYZ color space. Both color spaces are device independent.SEE ALSO
For information about the color conversion routines in previous versions of ColorSync, see "Converting Between Color Spaces" (page 3-143).