Replies: 1 comment 2 replies
-
When you specify the fitpage the image will be fit inside the dimensions that you are specifying. The maximum size will be 400x400 in your example. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am converting PDF to Image and a little confused what is the proper way to set the final Image dimension.
I have tried to do that using
PdfReadDefines
class and assignMagickGeometry
toPdfReadDefines.FitPage
property, it reduces the image dimension but not to 400px.To solve this, I am resizing the image one more time using the method
MagickImage.Resize(magickGeometry)
.I would like to understand what
pdfReadDefines.FitPage
does and I know that GhostScript accepts image dimension properties, then how to set it?Beta Was this translation helpful? Give feedback.
All reactions