Sign inSign up

datawraith/jbig2

By datawraith

•Updated about 11 years ago

jbig2 and jbig2dec

Image
1

244

datawraith/jbig2 repository overview

⁠jbig2

See GitHub⁠.

JBIG2 is an image compression format for bi-level (black and white) images. This container packages encoder and decoder. You can use it to make nice and small PDF files:

⁠Usage

Scan all pages of a document as .pnm-files (or .png) and then run:

  1. docker run -u "$(id -u):$(id -g)" -v "$(pwd)":/images datawraith/jbig2 jbig2 -p -s -v *.pnm
  2. docker run -u "$(id -u):$(id -g)" -v "$(pwd)":/images datawraith/jbig2 pdf.py output > out.pdf

This will produce a very small PDF file with all pages of your document.

Tag summary

Content type

Image

Digest

sha256:dc3e1b49f…

Size

76.9 MB

Last updated

about 11 years ago

docker pull datawraith/jbig2