[magick-users] slice up an image
Anthony Thyssen
anthony at griffith.edu.au
Tue Aug 5 20:26:05 PDT 2008
Bob Meetin on wrote...
| 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
|
Set -scene 1
See http://www.imagemagick.org/Usage/files/#scene
| and BTW - this would have saved me "hours" of work last weekend... sigh
Isn't that always the case ;-)
Anthony Thyssen ( System Programmer ) <A.Thyssen at griffith.edu.au>
-----------------------------------------------------------------------------
Signature presently being upgraded. New .sig should be bigger, better,
less harmful to the ozone layer, much friendlier to gay and lesbian whales,
offend less university staff. Coming soon, to a newsgroup near you!
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
More information about the Magick-users
mailing list