JBIG2 halftone images

Georg Gottleuber <[email protected]> Wed, 31 Aug 2011 16:22:50 +0200
Newsgroups gmane.comp.printing.ghostscript.jbig2dec.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I am using jbig2dec (at GNU PDF) and found out that decoding halftone
images do not work with my JBIG2 streams.

My test data is TD00001 (global stream) and TD00002 (page stream) from
GNU PDF
(http://bzr.savannah.gnu.org/lh/pdf/libgnupdf/trunk/files/head:/torture/testdata/)

If I compile jbig2dec (0.11 or git head) with -DJBIG2_HALFTONE I get an
output PBM without the contained halftone gradient. (rest of the bitmap
is ok)

The second page of this document
(http://www.circuitwizard.de/pdftex/old-jbig2/foo.pdf) shows how the
bitmap looks like (with JBIG2 halftone image).

Please help me to fully decode this halftone image.

Regards,
Georg Gottleuber




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5eQ7oACgkQ5sLITM1qIaJuJACgmRpZChE2d+OX4Ww352hb2KhR
GqkAn3pR4xVIbOb9fwyXG/0fY8HK4n9+
=N3kQ
-----END PGP SIGNATURE-----