Page 1 of 1

Another basic question

Posted: 2014-09-02T20:02:29-07:00
by saucedog
I'm back with another (basic) question.

How would I accomplish this against all images in a directory?

Image

I think I can crop and then chop the original image, save the cropped part as a second image, and then use -append to join them again. But I was wondering if there's an easier way... perhaps without ever saving the cropped area as second image?

Re: Another basic question

Posted: 2014-09-02T20:34:27-07:00
by fmw42
It is not clear what you want to do. Please clarify or show a better example. What are starting with and what do you want it to be at the end?

For processing of multiple images in a given directory, see mogrify
http://www.imagemagick.org/Usage/basics/#mogrify

Also it is always best to provide your IM version and platform, since syntax may be different.

Re: Another basic question

Posted: 2014-09-02T20:45:36-07:00
by saucedog
Thanks for the quick response.

I want to remove the upper portion of an image (let's say 100x20) and put it at the bottom while keeping the same original dimensions. If I can apply the change to all images at the same time, all the better. But I'm really just curious what the best way is to translate/move any area from the top of an image to the bottom.

Thanks!

v6.7.0-3 Q16 (yes I know it's old!)

Re: Another basic question

Posted: 2014-09-02T20:46:47-07:00
by fmw42

Re: Another basic question

Posted: 2014-09-02T21:04:58-07:00
by saucedog
Thanks! That's exactly it.