2003.10.07 08:06 "[Tiff] Question!!", by 佳鴻
Dear
I want to read/write a CMYK mode TIFF file, and I use TIFFReadRGBAImage to read it.
Then, I use TIFFWriteEncodedStrip to write it.
I also set 8 to TIFFTAG_BITSPERSAMPLE tag, 4 to TIFFTAG_SAMPLESPERPIXEL and PHOTOMETRIC_SEPARATED to TIFFTAG_PHOTOMETRIC.
However, the color tones of output file is different to the original file.
Why?
Can anyone tell me why and give me a sample code?
Thanks a lot.
********************************
Jia-Hong Li
Information Security Lab., IECS, FCU
Mobile Phone: 0920-950750
m9107935@knight.fcu.edu.tw
allylee@pchome.com.tw
********************************