| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2012.02.22 20:33 "Re: Creating a CMYK tiff", by Igor SkochinskyHello 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 |
|||||||