Hi > The encoding of src is double with an range of 0.0 - 1.0 for each of the > three samples. My most interesst is using floats with at least 16bit.
Still is unclear to me how you get this 0..1.0 encoding. Are you reading it from tiff ? Lab iself goes L =0..100 and ab between -128..+128. alas, TIFF encoding is pretty tricky. Fot that reason I suggested to use the lcmstifflab8 profile. > I dont understand how it makes sense to switch from doubles to 8bit > integers for hLab? You really mean downsampling? Sorry, a typo. It should be TYPE_Lab_DBL > I think I did it with the my above code. Still, the result is not what I > expected. (I used f32 as simple float and with casting to double -> same > result.) > Maybe as You don't use floats anyway, I rewrite it and use 16bit integers. > That worked right. If you can do it, it will be faster. No doubt on this. Regards, Mart�. ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Lcms-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/lcms-user
