Would be great support to extract JBIG2 image file from pdfs.
I intend to call as usual for image resources call .getData on a object with /JBIG2Decode decode filter and then write that to a file. Then, outside of PyPDF2 score, convert the saved file to a common format.
Would be great support to extract JBIG2 image file from pdfs. I intend to call as usual for image resources call .getData on a object with /JBIG2Decode decode filter and then write that to a file. Then, outside of PyPDF2 score, convert the saved file to a common format.
Here is pdfminer implementation: https://github.com/pdfminer/pdfminer.six/blob/master/pdfminer/jbig2.py
ItDoesntWorkScan.pdf