Carbon


CMConvertLabToXYZ

Header: CMApplication.h Carbon status: Supported

Converts colors specified in the L*a*b* color space to the XYZ color space.

CMError CMConvertLabToXYZ (
    const CMColor *src, 
    const CMXYZColor *white, 
    CMColor *dst, 
    UInt32 count
);
Parameter descriptions
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.

DISCUSSION

The CMConvertLabToXYZ 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.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when ColorSync 2.1 or later is present.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)