2006.01.04 18:15 "[Tiff] Reading TIFF(CMYK)", by

2006.01.04 19:41 "Re: [Tiff] Reading TIFF(CMYK)", by Bob Friesenhahn

On Wed, 4 Jan 2006 a.malka@comptel.pl wrote:

So maybe i ask another way...

i read tiff specification and can't find in which tag are saved CMYK channel...

Image channels are not saved in tags. They are part of the core image data which is interpreted (e.g. photometric, bits-per-sample, extra-samples) though use of tags.

There are several ways that CMYK data can be stored. The image may be comprised of strips or tiles. It may be arranged so that CMYK samples are stored contiguously, or they may be arranged as separate planes so that each plane is a channel (e.g. 'M').

If you are planning to write a program do to this directly via libtiff then expect to do a lot of research and looking at sample code.

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