Page 1 of 1

Convert pdf to a thumbnail

Posted: 2016-09-14T08:27:58-07:00
by kloeten
Hello,

I try to convert a pdf to a thumbnail, but I can't manage it.

I did this:

Code: Select all

convert ak.pdf -trim -resize 250x250^  ak.png
and got this:

http://sb.brod-is.de/test/ak.png

That's fine, but now I would like to crop it to a thumbnail 250px300px like this:

Image

Code: Select all

convert ak.pdf -trim -resize 250x250^ -crop 250x300+0+0 akcr.png
but the result is this:
Image

What am I doing wrong?

Thank you in advance for your help!

Re: Convert pdf to a thumbnail

Posted: 2016-09-14T08:33:29-07:00
by snibgo
Insert "+repage" after the trim.

Re: Convert pdf to a thumbnail

Posted: 2016-09-14T08:39:11-07:00
by kloeten
You made my day! Thank you very much :-)