macOS
brew install jbig2enclocal Homebrew formula metadata
sudo port install jbig2encMacPorts ports tree · graphics/jbig2enc/Portfile · source: api.github.com
brew
JBIG2 encoder (for monochrome documents). Version 0.32 via Homebrew; verified 2026-06-19.
install
brew install jbig2enclocal Homebrew formula metadata
sudo port install jbig2encMacPorts ports tree · graphics/jbig2enc/Portfile · source: api.github.com
sudo apk add jbig2encAlpine Linux edge package indexes · jbig2enc · source: dl-cdn.alpinelinux.org
sudo apt install jbig2Debian stable package indexes · jbig2 · source: deb.debian.org
nix profile install nixpkgs#jbig2encnixpkgs package indexes · pkgs/by-name/jb/jbig2enc/package.nix · source: api.github.com
overview
JBIG2 encoder (for monochrome documents)
history
jbig2enc is a command-line JBIG2 encoder for monochrome document images. Its README describes JBIG2 as a bi-level image format that can outperform Group 4 fax compression and says the tool can generate JBIG2 streams, fragments for embedding in PDFs, symbol extraction and classification, refinement coding, and multipage document compression.
The public GitHub repository was created in 2009, and the bundled ChangeLog records releases as early as the 0.21-era work on PDF output and old-book scans. The project grew around Leptonica integration, with repeated releases updating Leptonica compatibility, Windows build support, autotools, CMake, Meson, and the helper script later named jbig2topdf.py.
Homebrew packages the executable as jbig2enc, while Debian and Ubuntu expose the related command through a jbig2 package name. OCRmyPDF documentation treats a JBIG2 encoder as an optional but recommended component for smaller OCR-produced PDFs, which is one of the main reasons the encoder matters in Unix packaging even though the upstream project is small.
Typical usage is document-pipeline work: encode scanned bilevel images with jbig2, then use jbig2topdf.py to wrap the JBIG2 output into a PDF. The README also documents standalone .jb2 output and sample commands for multi-image PDF creation.
jbig2enc sits at an awkward packaging boundary: it is a tiny specialist encoder, but it unlocks much smaller scanned-document PDFs for tools higher in the stack. Packagers also care about its history because JBIG2 patent concerns long affected distribution decisions, while later releases focused on build-system portability and memory-safety fixes.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
jbig2 | cli | global executable | |
jbig2topdf.py | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/agl/jbig2enc
install metadata
| Package key | brew:jbig2enc |
|---|---|
| Version | 0.32 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/jbig2enc |
| Homepage | https://github.com/agl/jbig2enc |
| Repository | https://github.com/agl/jbig2enc |
| Upstream docs | https://github.com/agl/jbig2enc/blob/master/README.md |
| License | Apache-2.0 |
| Source archive | https://github.com/agl/jbig2enc/archive/refs/tags/0.32.tar.gz |
| Last updated | 2026-06-19T22:36:09Z |
| Pulse | updated |
| Dependencies | giflib, jpeg-turbo, leptonica, libpng, libtiff, webp |
| Build dependencies | autoconf, automake, libtool, pkgconf |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | jbig2enc |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
jbig2 0.30-1
encoder for JBIG2 - command-line tool
https://github.com/agl/jbig2enc
sudo apt install jbig2libjbig2enc-dev 0.30-1
encoder for JBIG2 - development headers
https://github.com/agl/jbig2enc
sudo apt install libjbig2enc-devlibjbig2enc0t64 0.30-1
encoder for JBIG2 - libraries
https://github.com/agl/jbig2enc
sudo apt install libjbig2enc0t64jbig2enc
nix profile install nixpkgs#jbig2encjbig2 0.29-2.1build1
encoder for JBIG2 - command-line tool
https://github.com/agl/jbig2enc
sudo apt install jbig2libjbig2enc-dev 0.29-2.1build1
encoder for JBIG2 - development headers
https://github.com/agl/jbig2enc
sudo apt install libjbig2enc-devlibjbig2enc0t64 0.29-2.1build1
encoder for JBIG2 - libraries
https://github.com/agl/jbig2enc
sudo apt install libjbig2enc0t64jbig2enc 0.30-r0
JBIG2 Encoder
https://github.com/agl/jbig2enc
sudo apk add jbig2encjbig2enc-dev 0.30-r0
JBIG2 Encoder (development files)
https://github.com/agl/jbig2enc
sudo apk add jbig2enc-devjbig2enc-doc 0.30-r0
JBIG2 Encoder (documentation)
https://github.com/agl/jbig2enc
sudo apk add jbig2enc-docjbig2enc-static 0.30-r0
JBIG2 Encoder (static library)
https://github.com/agl/jbig2enc
sudo apk add jbig2enc-staticjbig2enc
sudo port install jbig2encsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.