view mupdf-source/thirdparty/jbig2dec/README @ 38:8934ac156ef5

Allow to build with the PyPI package "clang" instead of "libclang". 1. It seems to be maintained. 2. In the FreeBSD base system there is no pre-built libclang.so. If you need this library you have to install llvm from ports additionally. 2. On FreeBSD there is no pre-built wheel "libclang" with a packaged libclang.so.
author Franz Glasner <fzglas.hg@dom66.de>
date Tue, 23 Sep 2025 10:27:15 +0200
parents b50eed0cc0ef
children
line wrap: on
line source

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://git.ghostscript.com/?p=tests.git;a=tree;f=jbig2

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: https://discord.gg/taPnFQp5gb
or via the mailing list <gs-devel@ghostscript.com>.