AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
February 2012

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2012.02.22 08:22 "Creating a CMYK tiff", by Dan Claudiu Zaharescu
2012.02.22 19:56 "Re: Creating a CMYK tiff", by Andreas Kleinert
2012.02.22 20:33 "Re: Creating a CMYK tiff", by Igor Skochinsky
2012.02.22 23:30 "Re: Creating a CMYK tiff", by <pullmoll@t-online.de>
2012.02.23 02:02 "Re: Creating a CMYK tiff", by Bob Friesenhahn
2012.02.23 07:12 "Re: Creating a CMYK tiff", by Dan Claudiu Zaharescu

2012.02.22 20:33 "Re: Creating a CMYK tiff", by Igor Skochinsky

Hello Dan,

Wednesday, February 22, 2012, 9:22:29 AM, you wrote:

dcz> Hello all,

dcz> TIFFSetField(image, TIFFTAG_SAMPLESPERPIXEL, 4);
dcz> /* When I use separate plans, the tiff cannot be opened, but I
dcz> don't think contig is good here!! */
dcz>  //TIFFSetField(image, TIFFTAG_PLANARCONFIG, PLANARCONFIG_SEPARATE);
dcz>  TIFFSetField(image, TIFFTAG_PLANARCONFIG, PLANARCONFIG_CONTIG);

It's been a while since I worked with this, but from what I remember,
none of the common viewers supported planar CMYK. If you want
max compatibility, you'll have to pack your pixels 4 colors per
sample.

dcz> Now, I have 4 buffers of LZW data:

Where do these buffers come from? If you don't have raw buffers, you'll
have to unpack them first and reshuffle the data.

-- 
WBR,
 Igor                            mailto:skochinsky@mail.ru