From: <ma...@li...> - 2001-12-03 14:55:00
|
Hi, Just build your own descriptor: #define TYPE_LabA_8 = (COLORSPACE_SH(PT_Lab)|CHANNELS_SH(3)|BYTES_SH(1)|EXTRA_SH(1)) In delphi this equals to $a0099=20 Regards, Marti. ----- Original Message -----=20 From: Armindo Da Silva=20 To: lcm...@li...=20 Sent: Monday, December 03, 2001 11:07 AM Subject: [Lcms-user] Scanline Transform Hello, in a 24 bits bitmap, instead of storing rgb value I store Lab value, I do some process and then I convert it to RGB with cmsDoTransform(hTransform, TheScanline, TheScanline, TheWidth); where hTransform :=3D cmsCreateTransform(LabProfile, TYPE_Lab_8, DisplayProfile, TYPE_BGR_8, INTENT_PERCEPTUAL,0); it works fine now I want to do the same with a 32 bits picture where instead of = Having RGBA I have LabA but now how can I do my transform with scaline? the problem for me is = that the TYPE_Lab_8 is only 3 bytes. Any idea? thanks Armindo |