jbig2enc is a command-line encoder for compressing bi-level images
into JBIG2 streams or PDF fragments: JBIG2 is an image compression
standard specifically designed for achieving great compression for
scanned text and included in PDF 1.4 and above.
