CMConvertLabToXYZ
Converts colors specified in the L*a*b* color space to the XYZ color space.
Declaration
CMError CMConvertLabToXYZ (
const CMColor *src,
const CMXYZColor *white,
CMColor *dst,
size_t count
);Parameters
- 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.
Return Value
A CMError value. See Result Codes.
Overview
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.