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
September 2005

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

2005.09.08 19:13 "creating JPEG file", by Philip Watkinson
2005.09.08 20:07 "Re: creating JPEG file", by Bob Friesenhahn
2005.09.08 21:00 "Re: creating JPEG file", by Philip Watkinson
2005.09.08 22:11 "Re: creating JPEG file", by Joris Van Damme
2005.09.08 22:31 "Re: creating JPEG file", by Bob Friesenhahn
2005.09.08 23:08 "Re: creating JPEG file", by Joris Van Damme
2005.09.08 20:49 "Re: creating JPEG file", by Joris Van Damme
2005.09.08 23:04 "Re: creating JPEG file", by Bob Friesenhahn
2005.09.08 23:16 "Re: creating JPEG file", by Joris Van Damme
2005.09.09 09:31 "Re: creating JPEG file", by Joris Van Damme
2005.09.09 10:03 "Re: creating JPEG file", by Joris Van Damme
2005.09.09 14:58 "Re: creating JPEG file", by Bob Friesenhahn
2005.09.09 15:11 "Re: creating JPEG file", by Bob Friesenhahn
2005.09.10 17:51 "Re: creating JPEG file", by Andrey Kiselev
2005.09.09 23:30 "Re: creating JPEG file", by Joris Van Damme
2005.09.09 23:49 "Re: creating JPEG file", by Bob Friesenhahn
2005.09.10 00:06 "Re: creating JPEG file", by Joris Van Damme

2005.09.09 14:58 "Re: creating JPEG file", by Bob Friesenhahn

On Fri, 9 Sep 2005, Joris wrote:
> unsigned integer data, unsigned integer data
>   JPEGTables (289 UNDEFINED): 255, 216, 255, 219, 0, 67, 0, 8, 6, 6,...
>   YCbCrSubSampling (2 SHORT): 2, 2
>
> I've seen YCbCrSubSampling used with YCbCr, of course, and with ITULAB,
> and, logically extending it, it could also be used with any other color
> space that has a single lightness/brightness channel followed by chroma
> channels. But it is not clear to me how it should apply to CMYK. I don't
> think this combination makes sense.

That does seem incorrect.  As far as I know, this part was done 
automatically by libtiff (GraphicsMagick did not specifically request 
subsampling) so it may be that libtiff is doing something wrong with 
CMYK JPEG compression.

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?

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/