2010.06.11 21:36 "[Tiff] Class Y (YCbCr) tiffs with 420 subsampling", by Thomas Richter

2010.06.11 23:21 "Re: [Tiff] Class Y (YCbCr) tiffs with 420 subsampling", by Bob Friesenhahn

I checked into the tiff directory reader (tif_dirread.c), which again calls TIFFScanlineSize(), which again only divides by the subsampling in X direction, but rather ignores the subsampling in Y direction - hence getting an invalid result.

Please feel free to enter a bug via the Bugzilla bug tracker. Others have complained about YCbCr strip size underestimation errors as well. If you are able to produce a well-tested patch, and attach it to your bug report, that will substantially hasten getting a fix into libtiff.

Libtiff is essentially a community-supported project without a dedicated maintainer so every bit of help is useful.

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