[magick-users] slice up an image
Bob Meetin
bobm at dottedi.biz
Tue Aug 5 11:59:46 PDT 2008
Fred Weinhaus wrote:
> 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
>>
that does it, it starts the numbering sequence at -0. it's probably
immaterial but can it be forced to start at -1
and BTW - this would have saved me "hours" of work last weekend... sigh
More information about the Magick-users
mailing list