Batch resizing a directory of images in Linux with ImageMagick
- Posted on 2008-09-29
- Comments
To replace all JPEGs in a directory with resized versions:
mogrify -resize 720x576 *.jpg
Note that this will retain the aspect ratio, such that the image is scaled so it will fit inside a box of the given dimensions. To force the image to be stretched to the given dimensions instead:
mogrify -resize 720x576! *.jpg





