jbig2 encoder samples.
December 20, 2024 ยท View on GitHub
jbig2enc is JBIG2 opensource encoder for bi-level (1 bpp) images.
It uses Leptonica library (and its dependancies) for compression.
Example of applying different weights
| Used parameters | Image |
|---|---|
| original / no JBIG2 | ![]() |
-t 0.85 -w 0.25 | ![]() |
-t 0.85 -w 0.50 | ![]() |
-t 0.85 -w 0.75 | ![]() |
See this discussion for more details.



