[magick-users] slice up an image
Fred Weinhaus
fmw at alink.net
Tue Aug 5 11:23:41 PDT 2008
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
More information about the Magick-users
mailing list