From: Armindo Da S. <tec...@wa...> - 2001-12-03 14:29:54
|
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 |