2014.12.23 03:11 "[Tiff] TIFF JBIG writer and scanlines", by Bob Friesenhahn

2014.12.23 03:11 "[Tiff] TIFF JBIG writer and scanlines", by Bob Friesenhahn

Today I encountered this:

% tiffcp -r -1 -c jbig golfer-150-bilevel.tiff golfer-150-bilevel-jbig.tiff golfer-150-bilevel-jbig.tiff: ISO JBIG scanline encoding is not implemented.

golfer-150-bilevel-jbig.tiff: Error, can't write scanline 0.

This was due to a GraphicsMagick user reporting that scanline reading sometimes fails due to libtiff's JBIG support reporting that reading via scanlines is not supported. I used the tiffcp incantation he provided and encountered the same error as when GraphicsMagick tries to write via its scanline writer.

This is using jbigkit-2.0. I tried on a machine with jbigkit-1.6 and it worked.

Ideas?

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