jbig2enc 0.22 review

Download
by rbytes.net on

jbig2enc is an encoder for JBIG2. JBIG2 encodes bi-level (1 bpp) images using a number of clever tricks to get better compression

License: GPL (GNU General Public License)
File size: 23K
Developer: Adam Langley
0 stars award from rbytes.net

jbig2enc is an encoder for JBIG2.

JBIG2 encodes bi-level (1 bpp) images using a number of clever tricks to get
better compression than G4. This encoder can:

Generate JBIG2 files, or fragments for embedding in PDFs
Generic region encoding
Perform symbol extraction, classification and text region coding
Perform refinement coding and,
Compress multipage documents

It uses the (Apache-ish licensed) Leptonica library. You'll need version 1.35.

KNOWN BUGS:

The refinement coding causes Acrobat to crash. It's not known if this is a bug in Acrobat, though it may well be.

BUILDING:

First, read the file PATENTS in the same directory as this file.

Fetch leptonica from its website and build it. For this you will also need the standard libtiff, libpng and libjpeg.

If leptonica was unpacked in ../leptonlib-1.35/ you should just be able to type make. Otherwise, fix up the path at the beginning of the Makefile first.

USAGE:

See the jbig2enc.h header for the high level API, or the jbig2 program for an example of usage. It's very short and most of it is taken up with argument parsing.

What's New in This Release:
This release added segmentation support for extracting text from mixed images.
Flyspeck removal has been disabled for now.
A few minor fixes were made.

jbig2enc 0.22 search tags