Page 1 of 1

need help with simple cropping and saving out images

Posted: 2011-06-23T11:50:37-07:00
by supercali
can someone show me what to do for this task?

I am looking over this program first time and I cant tell what I should do
repaige shave crop? Almost two many options so I cant tell what i need.

I just have an image called image.bmp that is 512x 512 and I want it chopped/divided and saved in 4 pieces 256x256 that are named 1.bmp, 2.bmp, 3.bmp, and 4.bmp as though reading from left to right.
How might I do this in one command line.
thanks for any help.

Re: need help with simple cropping and saving out images

Posted: 2011-06-23T12:07:37-07:00
by Bonzo
Try:

Code: Select all

convert image.bmp -crop 256x256 %d.bmp

Re: need help with simple cropping and saving out images

Posted: 2011-06-23T14:07:57-07:00
by supercali
works great.
thanks

Re: need help with simple cropping and saving out images

Posted: 2011-06-23T20:43:43-07:00
by anthony