Converts image data in a buffer from one color conversion model to another.
L_LTCLR_API L_INT L_ClrConvert(ClrHandle, pSrc, pDst, nWidth, nHeight, nInAlign, nOutAlign)
Handle to an existing color conversion. This handle is obtained by calling the L_ClrInit function.
Pointer to the buffer holding the input data.
Pointer to the buffer that will hold the converted data.
Width of pixels to be processed.
Height of pixels to be processed.
Each scanline in the input buffer is a multiple of nInAlign bytes.
Each scan line in the output buffer is a multiple of nOutAlign bytes.
|The function was successful.
|An error occurred. Refer to Return Codes.
Conversion is done by setting the active method value specified in the CONVERSION_PARAMS structure when calling L_ClrInit. To change the active method, use L_ClrSetConversionParams. Only methods supported by the initialized converter should be specified.
For an example, refer to L_ClrInit.