2013.06.14 11:22 "[Tiff] : Tiff Decoder in case tiff color space is CIE LAB", by Sunanda Chowdhary

2013.06.14 13:32 "Re: [Tiff] : Tiff Decoder in case tiff color space is CIE LAB", by Bob Friesenhahn

I have a tiff file with color space: CIE LAB and samples per pixel = 3. So according to description about the tags, if samples per pixel = 3 then color space is set to RGB.

> But, my tiff is of type CIE LAB and I want my product to get decoded image as its original color space (i.e. CIE  LAB).

Is it possible?

You did not say how you are retreiving the image from libtiff. If it
is via the dummy RBA interface (for 'dummys') then there could be
loss. If it is via lower-level strip/tile access then the orginal
values are preserved and it is just a matter of remembering the
original color space.

Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/