Batch resizing of images in linux with ImageMagick

Overwriting the current pictures:
mogrify -quality 85 -geometry '2048x1536>' *.jpg

Creating new pictures:
for i in *.jpg; do convert $i -quality 85 -geometry '1024x768' small_$i; done

Really usefull when you have to convert many pictures at once.

One Response to “Batch resizing of images in linux with ImageMagick”

  1. January 10th, 2007 | 23:23
    Using Mozilla Firefox Mozilla Firefox 2.0.0.1 on Ubuntu Linux Ubuntu Linux

    Thanks, very useful!

Leave a reply