Converting A5 pdf leads to an A4 jpg with white border

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
math

Converting A5 pdf leads to an A4 jpg with white border

Post by math »

I'm having problems with ImageMagick 6.3.4.

When I convert a pdf from A5 format, the output JPG appears in A5 size on an A4 image, such that there is a white border around the original image.

Example:

Command:
convert "in.pdf[0]" out.jpg

Input file:
http://www.uscki.nl/~melissen/in.pdf

Output file:
http://www.uscki.nl/~melissen/out.jpg

Does anyone know how I can avoid this, without knowing in advance the size of the PDF I am going to convert?
math

Re: Converting A5 pdf leads to an A4 jpg with white border

Post by math »

Can other people reproduce this?
Post Reply