From: Armindo Da S. <tec...@wa...> - 2001-12-03 17:43:49
|
Hi Marti, thanks for your tips, it works fine. You new web site is very nice. Your delphi sample is very interesting in particular concerning the icc = files inside the combobox..... thanks Armindo 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. 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 |