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?".
kloeten
Posts: 2 Joined: 2016-09-14T07:51:23-07:00
Authentication code: 1151
Post
by kloeten » 2016-09-14T08:27:58-07:00
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:
Code: Select all
convert ak.pdf -trim -resize 250x250^ -crop 250x300+0+0 akcr.png
but the result is this:
What am I doing wrong?
Thank you in advance for your help!
snibgo
Posts: 12159 Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK
Post
by snibgo » 2016-09-14T08:33:29-07:00
Insert "+repage" after the trim.
kloeten
Posts: 2 Joined: 2016-09-14T07:51:23-07:00
Authentication code: 1151
Post
by kloeten » 2016-09-14T08:39:11-07:00
You made my day! Thank you very much