Re: [Lcms-user] data format for 16 bit Lab conversions

2009-05-25 Thread marti . maria
Hi, Lcms does use ICC encoding for Lab, which is a weird format. You may want to write a used-defined encoder to deal with your particular Lab representation. Take a look on tifficc for a sample on how to do this. The ICC Lab encoding is documented in the ICC spec, and also on cmspcs.c CIELAB (1

[Lcms-user] data format for 16 bit Lab conversions

2009-05-24 Thread Paul Cezanne
I think I've missed this in the docs and the sample code, but my application is working fine for 8 bit colors and now I need to make it work for 16 bit values. Just exactly does lcms expect for 16 bit Lab? In particular, I have a pixel with L = 100 = 0x8000 a=b= 0 = 0x4000, how do I setup l