Skip to content

How to extract image with same size and content as pdf displayed? #1825

Answered by JorjMcKie
weikenxq asked this question in Q&A
Discussion options

You must be logged in to vote

It is possible to extract image with same size as pdf displayed?

No, because you are extracting the original image file.
The only thing you can do is to afterwards modify the extracted image to a size of your liking.
Do this by applying a scaling matrix to the pixmap of the extracted image, or make a PIL Image and then execute its .thumbnail() method.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@JorjMcKie
Comment options

@weikenxq
Comment options

@JorjMcKie
Comment options

@JorjMcKie
Comment options

@JorjMcKie
Comment options

Answer selected by JorjMcKie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants