Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NotImplementedError: unsupported filter /JBIG2Decode #951

Closed
fredgido opened this issue Jun 6, 2022 · 1 comment
Closed

NotImplementedError: unsupported filter /JBIG2Decode #951

fredgido opened this issue Jun 6, 2022 · 1 comment
Labels
is-feature A feature request

Comments

@fredgido
Copy link

fredgido commented Jun 6, 2022

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

@pubpub-zz
Copy link
Collaborator

closed as duplicate of #1989

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is-feature A feature request
Projects
None yet
Development

No branches or pull requests

3 participants