pypdf icon indicating copy to clipboard operation
pypdf copied to clipboard

BUG: some inline images are missing

Open pubpub-zz opened this issue 1 month ago • 0 comments

Environment

Which environment were you using when you encountered the problem?

python 3.10.4 ; windows 11
pypdf==4.2.0, crypt_provider=('cryptography', '41.0.1'), PIL=10.3.0

Code + PDF

image extraction reports only 1 image (inline)whereas there is 3 of them

import pypdf
r=pypdf.PdfReader("bug1065245.pdf")
print(len(r.pages[0]._get_ids_image()))

https://github.com/mozilla/pdf.js/blob/master/test/pdfs/bug1065245.pdf

pubpub-zz avatar May 08 '24 09:05 pubpub-zz