Conversion Problem pdf to png

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
sanojmn

Conversion Problem pdf to png

Post by sanojmn »

Hi...

I have a pdf format and it is not in a A4 size. It is below than A4 size. So if i convert the file into png i am getting one blank page left side of the image. Like we can see in one image right side white space (as size of original page) and left side the original image.

Please help me why it is happening this. Below you can see sample of that image output.

Image

Sanoj
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Conversion Problem pdf to png

Post by anthony »

The ghostscript thinks it is A4 try adding -page A5 before reading the pdf file.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply