2009.09.14 17:30 "[Tiff] 8-bit JPEG broken in 3.9.x?", by Dwight Kelly

2009.09.14 22:25 "Re: [Tiff] 8-bit JPEG broken in 3.9.x?", by Bob Friesenhahn

I am getting strange results with JPEG compression and libtiff 3.9.1.
Below is a test program. The output for 8-bit JPEG in gray and RGB
colorspaces are wrong. Instead of horizontal stripes I get a solid color.

I received your two emails. Double-check how you are building your test program. If you are on a system which supports it, use 'ldd' to verify that the correct libraries are being used. Pay close attention that the correct header files are used. For my first attempt with your test program, a system provided libtiff was being used rather than the one I installed.

With your test program, the results all look the same when viewed using GraphicsMagick with libtiff 3.9.1 plus the tiny patch for OJPEG to work with IJG JPEG 7.

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