I believe that -crop should do it automatically (if your image is 
evenly divisible by the subsection sizes)

convert image_480x360.jpg -crop 160x120 images_160x120.jpg

see http://www.imagemagick.org/script/command-line-options.php#crop

also see my example for 2 overlapping halves at 
http://www.fmwconcepts.com/imagemagick/tidbits/image.php#crop


>Let's say I have an image 480x360px in size and want to slice it into 9
>equal size 160x120px sections. Is there an easy route to do this with
>convert and some simple math or an I going to write a simple script to
>do this in 9 passes?  -Bob
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to