jbig2dec
« Back to VersTracker
Description:
JBIG2 decoder and library (for monochrome documents)
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: jbig2 decoding image-processing pdf monochrome library
Install: brew install jbig2dec
About:
jbig2dec is a library and utility program that converts JBIG2 encoded images (commonly found in monochrome PDF documents) into more standard formats like PNG or TIFF. It provides a robust implementation of the JBIG2 decoding algorithm, enabling developers to extract and render bitmap images from compressed document sources. This tool is essential for processing legacy documents and integrating JBIG2 support into custom applications.
Key Features:
  • High-fidelity JBIG2 decoding to standard bitmap formats
  • Command-line utility for batch processing and testing
  • C-based library for integration into other software
  • Supports both lossy and lossless encoding modes
  • Open source implementation (AGPL/Apache licensed)
Use Cases:
  • Extracting images from PDF files containing JBIG2 compression
  • Building document management systems that require JBIG2 support
  • Converting legacy monochrome documents to modern image formats
  • Debugging and analyzing JBIG2 encoded data streams
Alternatives:
  • poppler – Poppler is a full PDF rendering library that includes JBIG2 decoding, whereas jbig2dec is a focused, lightweight library specifically for JBIG2 decoding.
  • mupdf – MuPDF is a lightweight PDF and XPS viewer/library that handles JBIG2 internally, while jbig2dec offers a standalone decoder for more targeted use cases.
Version History
Detected Version Rev Change Commit