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

Unsupported image format #432

Open
stchris opened this issue Feb 10, 2023 · 0 comments
Open

Unsupported image format #432

stchris opened this issue Feb 10, 2023 · 0 comments
Labels

Comments

@stchris
Copy link
Contributor

stchris commented Feb 10, 2023

3.18.2 has difficulties with PDFs with unsupported image formats when we try to get a PIL image out of a pikepdf Image.

Some research suggests this might be related to the DecodeParams used by pikepdf (see pikepdf/pikepdf#423).

Some related stacktraces suggest breakage in pikepdf even before the point of converting to a PIL Image and for those cases it seems like pikepdf 7.0.0 has a fix which works:

Fixed an issue with extracting images that were compressed with multiple compression filters that also had custom decode parameters.
@stchris stchris added the bug label Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant