[magick-users] Cropping a list of images
Fred Weinhaus
fmw at alink.net
Tue Aug 5 15:16:50 PDT 2008
I think you need to use mogrify but it assumes that you crop at the
same subsection each time.
See http://www.imagemagick.org/Usage/basics/#mogrify
You can also do it with convert but have to identify each image
separately and use -write. You have to put each of the images except
the last into parenthesis.
For example with 3 images:
convert \( imageA.jpg -crop 100x100+50+50 +repage -write
imageAcrop.jpg +delete \) \
\( imageB.jpg -crop 150x150+200+200 +repage -write imageBcrop.jpg +delete \) \
imageC.jpg -crop 75x75+300+300 +repage imageCcrop.jpg
>If you want to crop a list of images A, B, C,...
>and save each of the cropped images as their cropped
>version, how is this achieved within the one convert command?
>
>
>
>Damien Dunlop
>CMAD/Discway Maps
>634 Bell St
>Preston Vic 3072
>Australia
>Ph: 61 3 93478802
>Fx: 61 3 94841352
More information about the Magick-users
mailing list