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
August 2008

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!



2008.08.27 19:32 "TIFFReadScanline doesn't work at all for subsampled YCbCr JPEG data", by Tom Lane

I'd be interested in getting comments on
http://bugzilla.maptools.org/show_bug.cgi?id=1936

Although TIFFReadScanline is documented not to work for fetching
subsampled data as such, it ought to work for data that's been
converted back to RGB, as tiff2ps requests libtiff to do.  The
problem basically is that too many decisions are made before the
	TIFFSetField(tif, TIFFTAG_JPEGCOLORMODE, JPEGCOLORMODE_RGB);
call and never revisited.  The check-ycbcr-subsampling kluge is
definitely making things worse, but it fails even without that.

Years ago I might've been able to fix this myself, but I no longer grok
libtiff well enough; can anyone help?

			regards, tom lane