2005.09.08 19:13 "[Tiff] creating JPEG file", by Philip Watkinson

2005.09.10 17:51 "Re: [Tiff] creating JPEG file", by Andrey Kiselev

On Fri, Sep 09, 2005 at 10:11:03AM -0500, Bob Friesenhahn wrote:

GraphicsMagick is doing something a bit odd though since it uses

   (void) TIFFSetField(tiff,TIFFTAG_JPEGCOLORMODE,JPEGCOLORMODE_RGB);

The only other choice appears to be JPEGCOLORMODE_RAW. Maybe JPEGCOLORMODE_RAW should be used for CMYK?

I tried passing JPEGCOLORMODE_RAW and it made no difference. Libtiff still added a subsampling tag.

Bob,

there is a known problem with the raw JPEG interface in tif_jpeg.c. I t should be fixed at some point in the future...

--
Andrey V. Kiselev

Home phone: +7 812 5970603 ICQ# 26871517