Page 1 of 1

Reverse of -crop

Posted: 2011-12-21T05:33:47-07:00
by vvaz
Hello,

I have a big set of images in various sizes and I want to get only bottom 45 pixels I can easily get rid of this row with
mogrify -crop +0-45 +repage *.tif

But how to get rid of *rest* of image and retain only those bottom 45px???

TIA

v.

Re: Reverse of -crop

Posted: 2011-12-21T10:09:04-07:00
by fmw42
try

mogrify -gravity south -crop x45+0+0 +repage *.tif

Re: Reverse of -crop

Posted: 2011-12-30T08:07:17-07:00
by vvaz
Thank you very much. I don't know why I didn't try this.

Re: Reverse of -crop

Posted: 2012-01-02T23:39:53-07:00
by anthony
For all forms of cropping see
http://www.imagemagick.org/Usage/crop/