img2pdf/src
AnnaArchivist ee42963164 Add support for JBIG2 (generic coding)
Implements the proposal detailed at
#112 (comment)

This is a limited implementation of JBIG2, which can be extended to
support multiple pages, symbol tables, and other features of the format
in the future.

To test, I included a test fixture. You can also download 042.bmp (the same
one as @josch already downloaded in #112 (comment)
from https://git.ghostscript.com/?p=tests.git;a=blob_plain;f=jbig2/042.bmp;hb=HEAD
and run the following command:

  jbig2 042.bmp | img2pdf > 042.pdf

This results in a small PDF, just as @josch originally found in the
comment mentioned above.

This is my first contribution to this repository so let me know if
something else is needed. Thanks for a great library!
2023-11-29 00:00:00 +00:00
..
tests Add support for JBIG2 (generic coding) 2023-11-29 00:00:00 +00:00
img2pdf.py Add support for JBIG2 (generic coding) 2023-11-29 00:00:00 +00:00
img2pdf_test.py Add support for JBIG2 (generic coding) 2023-11-29 00:00:00 +00:00
jp2.py jp2: rudimentary support for raw jpeg2000 without jp2 boxes 2023-08-08 07:40:38 +02:00