jbig2dec is a decoder library and example utility implementing the JBIG2
bi-level image compression spec. Also known as ITU T.88 and ISO IEC
14492, and included by reference in Adobe's PDF version 1.4 and later.

The basic invocation is:

    jbig2dec [-o <output file>] file.jbig2

It also supports separate 'global' and 'page' streams, generally
extracted from some embedded format:

    jbig2dec [-o <output file>] <global_stream> <page_stream>

The program is only partially functional at this time, but should be
useful in some limited contexts. We welcome files that the decoder can't
handle, or renders incorrectly.

More information about jbig2dec and updated versions are available from:
https://jbig2dec.com/

A set of example files is available from
https://jbig2dec.com/tests/

Development source code is kept in a git repository at:
http://git.ghostscript.com/?p=jbig2dec.git

Report bugs at https://bugs.ghostscript.com
For security issues please use the "Security - Other" product,
and for normal bugs the "jbig2dec" product.

Contact the developers on Discord or IRC at #ghostscript at libera.chat
or via the mailing list <gs-devel@ghostscript.com>.
