get_images always get all images in whole PDF doucument #2126
Answered
by
JorjMcKie
yonglee7015
asked this question in
Q&A
-
get_images ---- I already set page = first page such as pdf =pdf_file[0]. But it still get all images in whole pdf document. |
Beta Was this translation helpful? Give feedback.
Answered by
JorjMcKie
Dec 15, 2022
Replies: 2 comments 1 reply
-
A PDF creator has the liberty to define one |
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
A PDF creator has the liberty to define one
/Resources
object in the file, which refers to all the images and fonts and other stuff, which furtheron may be used by pages. Of course, a single page will only use a subset.To build a page-specific subset, execute
page.clean_contents()
before doingpage.get_images()
etc.