Broken image extraction if no filters and CMYK colorspace #2522
Labels
is-bug
From a users perspective, this is a bug - a violation of the expected behavior with a compliant PDF
workflow-images
From a users perspective, image handling is the affected feature/workflow
Image extraction is broken when
isinstance(lfilters, NullObject)
andmode == "CMYK"
inpypdf/pypdf/filters.py
Lines 818 to 826 in 0106904
Environment
Which environment were you using when you encountered the problem?
Code + PDF
This is a minimal, complete example that shows the issue:
An anonymized version of the file is out3.pdf.
Traceback
This is the complete traceback I see:
The text was updated successfully, but these errors were encountered: