page.images #2135
Answered
by
pubpub-zz
yonglee7015
asked this question in
Q&A
page.images
#2135
-
for image_file_object in page.images:
|
Beta Was this translation helpful? Give feedback.
Answered by
pubpub-zz
Aug 31, 2023
Replies: 2 comments 4 replies
-
This might depend on the PDF file itself. Are you able to provide the one you have been testing this with? |
Beta Was this translation helpful? Give feedback.
3 replies
-
@yonglee7015 this is why you are getting all the images, not only the "selected for display" ones |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
yonglee7015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@yonglee7015
your PDF is build in such a way that all images are attached to all the pages:
(displayed with pdfbox -debug)
this is why you are getting all the images, not only the "selected for display" ones