AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.05.25 09:52 "[Tiff] How to Write a tif file with compression = COMPRESSION_JPEG & photometric = PHOTOMETRIC_YCBCR ?", by yourpattern
2005.05.25 10:41 "Re: [Tiff] How to Write a tif file with compression = COMPRESSION_JPEG & photometric = PHOTOMETRIC_YCBCR ?", by Jean-Yves Le Ridant
2005.05.26 01:50 "Re: [Tiff] How to Write a tif file with c ompression = COMPRESSION_JPEG & photometr ic = PHOTOMETRIC_YCBCR ?", by yourpattern
2005.05.26 08:37 "Re[2]: [Tiff] How to Write a tif file with compression = COMPRESSION_JPEG & photometric = PHOTOMETRIC_YCBCR ?", by Jean-Yves Le Ridant

2005.05.25 09:52 "[Tiff] How to Write a tif file with compression = COMPRESSION_JPEG & photometric = PHOTOMETRIC_YCBCR ?", by yourpattern

Hi all,

I want to write a bitcount = 24bit(or 8bit) image to a tif file with JPEG compression. I can save it with photometric = PHOTOMETRIC_RGB,but when i save it with PHOTOMETRIC_YCBCR it seems doesn't work, why?

It seems that i should do some operations on the RGB source image before i save it with PHOTOMECTRIC_YCBCR?

do anyone have some similiar codes? or if there is something important i need to know to implement this feature?

thanks in advance.!

Kingore@126.com