The color conversion C API provides direct color conversion to an image. To do a conversion, follow the steps below:
Define the following global variables:
Dim LABData(100) As ByteDim LBitmap As LEADBitmapHandleDim nWidth As IntegerDim nHeight As IntegerDim nInAlign As IntegerDim nOutAlign As Integer
To convert 320x240 24 bit CIELab data to a LEAD bitmap with RGB24 do the following:
L_ClrConvertDirectToBitmap CCS_LAB, CCS_BGR, LABData(0), LBitmap, Len(Lbitmap), nWidth, nHeight, nInAlign, nOutAlign' You can use the Lead bitmap as you want