Convert loses orientation

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
timmay
Posts: 1
Joined: 2011-10-19T12:59:04-07:00
Authentication code: 8675308

Convert loses orientation

Post by timmay »

Hey All,

I have a PDF with one page, with landscape page orientation.
When I convert it to jpg, the resulting image is suddenly rotated to portrait orientation.
But the content of the image itself isn't rotated, and does no longer fit in the canvas (part of it disappears now).
So it looks like only the canvas is rotated, but the image itself not.

The command i'm using:

Code: Select all

convert -density 300 1.pdf[0] -density 72 -scale 50% -quality 90 1.jpg 
I'm using ImageMagick 6.6.2-6 and Ghostscript 8.70.

Does anyone has any idea how I can keep the original page orientation?
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Convert loses orientation

Post by anthony »

Is the page 'clipped'?

You could try to do a -rotate 90 or set a landscape -page size.

I fthis is not right, then please give us an example.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply