Re: [PATCH] fix jbig in tiff container

Yuriy Kaminskiy <[email protected]> Tue, 23 Dec 2014 17:02:46 +0300
Newsgroups gmane.comp.video.graphicsmagick.bugs
Message-ID <[email protected]>
Bob Friesenhahn wrote:
> As a follow-up on this issue, I found that tiffcp failed when using 
> libtiff is using jbigkit-2.0 but worked on a machine with jbigkit-1.6.

That's strange. jbigkit 1.6 and 2.0 are slightly ABI-incompatible due to
structure change, but there should not be almost no change for callers (provided
you recompiled caller code).

It worked for me with libtiff-3.9.4 compiled against jbigkit-2.0.

What tiffinfo and tiffdump says about golfer-150-bilevel.tiff?
For my (working) test file:
  Image Width: 1100 Image Length: 1600
  Bits/Sample: 1
  Sample Format: unsigned integer
  Compression Scheme: CCITT Group 4
  Photometric Interpretation: min-is-white
  FillOrder: lsb-to-msb
  Samples/Pixel: 1
  Rows/Strip: 1600
  Planar Configuration: single image plane

> I was able to read the output of tiffcp using GraphicsMagick on the 
> machine with jbigkit-2.0.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net