how to cutting an img from right-bottom?

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
linjuming
Posts: 122
Joined: 2011-01-25T00:09:50-07:00
Authentication code: 8675308

how to cutting an img from right-bottom?

Post 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?
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

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

Post by Bonzo »

Try:

Code: Select all

convert input.jpg -gravity southeast -crop 30x30+0+0 +repage output.jpg
linjuming
Posts: 122
Joined: 2011-01-25T00:09:50-07:00
Authentication code: 8675308

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

Post 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!
Post Reply