jbig2dec
brew install jbig2dec
v0.20
AGPL-3.0-or-later
C library and command-line decoder for JBIG2 bi-level image compression (ITU T.88/ISO 14492).
Why you might care
Primary use is as a build dependency for PDF readers and document processors that need to decode JBIG2-compressed monochrome images embedded in PDFs. While the standalone utility exists, the library is what matters for most workflows—it's referenced in PDF 1.4+ specs. Partial implementation; useful for common cases but not all JBIG2 variants.
9.4k
30-day installs · #369
28.9k
90-day · #403
85.4k
365-day · #470
52
★ GitHub stars · updated 4d ago
Build dependencies
Links
- https://github.com/ArtifexSoftware/jbig2dec
- GitHub: ArtifexSoftware/jbig2dec
- Brew formula source: Formula/j/jbig2dec.rb
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"Ghostscript",
"qpdf",
"MuPDF"
],
"build_dependencies": [
"autoconf",
"automake",
"libtool"
],
"categories": [
"library",
"parser",
"image-tool",
"pdf-tool"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "JBIG2 decoder and library (for monochrome documents)",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:38:58+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "jbig2dec",
"github_default_branch": "master",
"github_last_commit_at": "2026-06-16T14:00:37Z",
"github_readme_excerpt": "jbig2dec is a decoder library and example utility implementing the JBIG2\nbi-level image compression spec. Also known as ITU T.88 and ISO IEC\n14492, and included by reference in Adobe\u0027s PDF version 1.4 and later.\n\nThe basic invocation is:\n\n jbig2dec [-o \u003coutput file\u003e] file.jbig2\n\nIt also supports separate \u0027global\u0027 and \u0027page\u0027 streams, generally\nextracted from some embedded format:\n\n jbig2dec [-o \u003coutput file\u003e] \u003cglobal_stream\u003e \u003cpage_stream\u003e\n\nThe program is only partially functional at this time, but should be\nuseful in some limited contexts. We welcome files that the decoder can\u0027t\nhandle, or renders incorrectly.\n\nMore information about jbig2dec and updated versions are available from:\nhttps://jbig2dec.com/\n\nA set of example files is available from\nhttps://git.ghostscript.com/?p=tests.git;a=tree;f=jbig2\n\nDevelopment source code is kept in a git repository at:\nhttp://git.ghostscript.com/?p=jbig2dec.git\n\nReport bugs at https://bugs.ghostscript.com\nFor security issues please use the \"Security - Other\" product,\nand for normal bugs the \"jbig2dec\" product.\n\nContact the developers on Discord: https://discord.gg/taPnFQp5gb\nor via the mailing list \u003cgs-devel@ghostscript.com\u003e.\n",
"github_repo": "ArtifexSoftware/jbig2dec",
"github_stars": 52,
"github_topics": [],
"homepage": "https://github.com/ArtifexSoftware/jbig2dec",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 9356,
"installs_365d": 85373,
"installs_90d": 28869,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "AGPL-3.0-or-later",
"llm_generated_at": "2026-06-20T23:44:27+00:00",
"llm_model": "claude-haiku-4-5",
"name": "jbig2dec",
"oldnames": [],
"one_liner": "C library and command-line decoder for JBIG2 bi-level image compression (ITU T.88/ISO 14492).",
"optional_dependencies": [],
"rank_30d": 369,
"rank_365d": 470,
"rank_90d": 403,
"raw_hash": "1e26f70d94225d8e",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/j/jbig2dec.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": null,
"version_stable": "0.20",
"versioned_formulae": [],
"why_use_this": "Primary use is as a build dependency for PDF readers and document processors that need to decode JBIG2-compressed monochrome images embedded in PDFs. While the standalone utility exists, the library is what matters for most workflows\u2014it\u0027s referenced in PDF 1.4+ specs. Partial implementation; useful for common cases but not all JBIG2 variants."
}