aleph icon indicating copy to clipboard operation
aleph copied to clipboard

Unsupported image format

Open stchris opened this issue 2 years ago • 0 comments

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 https://github.com/pikepdf/pikepdf/issues/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 avatar Feb 10 '23 12:02 stchris