Page 1 of 1

convert pdf2png resize bug ??

Posted: 2007-12-05T03:40:56-07:00
by bowa
I have a problem when creating thumbnails from pdfs.

this is the command i use:

Code: Select all

convert mypdf.pdf -resize "x200" thumbnail_%05d.png
now for most pdfs that works, and results in something like this:

Image

but ... when i have a pdf which contains a page with a defined rotation (rotation=90) the result is a skewed image ...

Image

whatever i try, once i add the '-resize' to the command, it gets skewed.

is this is a bug or am i missing something here ?

both pdfs have a 'landscape' page format.

Code: Select all

Version: ImageMagick 6.2.4 02/10/07 Q16

Re: convert pdf2png resize bug ??

Posted: 2007-12-06T00:04:06-07:00
by bowa
from my tests the problem is not in the -rotate function of convert, but in the -resize function.