Page 1 of 1

how to cutting an img from right-bottom?

Posted: 2011-08-15T03:07:26-07:00
by linjuming
Image

I can not find any parameter to cut an img from the reverse direction from
http://www.imagemagick.org/Usage/crop/

how to do that?

Re: how to cutting an img from right-bottom?

Posted: 2011-08-15T03:14:40-07:00
by Bonzo
Try:

Code: Select all

convert input.jpg -gravity southeast -crop 30x30+0+0 +repage output.jpg

Re: how to cutting an img from right-bottom?

Posted: 2011-08-15T03:48:55-07:00
by linjuming
Bonzo wrote:Try:

Code: Select all

convert input.jpg -gravity southeast -crop 30x30+0+0 +repage output.jpg
it works ,thank you very much!