Replies: 3 comments 3 replies
-
I have changed your issue into a discussion. You should not set the page size with image.Page = MagickGeometry.FromPageSize("a4"); |
Beta Was this translation helpful? Give feedback.
-
Dirk, maybe you could help me why my code blurry images in PDF even when image size is bigger than page dimension. I mean images become blurry even when making them smaller and fitting to PDF page in the center.
If I remove Resize and Extend methods when the images look sharp as original in PDF but then images are not centered in PDF. I am trying to center it that's why I must Resize and Extend. The Extend does not work without Resize and Resize produces a blurry image. |
Beta Was this translation helpful? Give feedback.
-
Could you start a new question and explain in more detail what is happening? |
Beta Was this translation helpful? Give feedback.
-
The ImageMagick tutorial shows that it is possible to convert images to PDF and set page size by including page size name like A4
convert -density 80 -page a4 input_A.jpg input_B.jpg output.pdf
When I try to do the same(?) I get exception "Invalid geometry" at
magickReadSettings.Page = new MagickGeometry("a4");
Is it possible to set page size by name?
Beta Was this translation helpful? Give feedback.
All reactions