Batch resize images in Linux using imagemagick and the terminal

<< More Tips   |   Added On: 14/10/17   |    Category: Linux    |    Number of Views: 248


The quickest and easiest way to batch resize a number of images is to use imagemagick via the terminal in Linux.

First thing you need to do install imagmagick using the following command

sudo apt-get install imagemagick

The next step is to cd to your directory where your images are stored. I needed to batch resize all .jpg images to 800 x 600 pixels, so I ran the following command in the terminal
mogrify -resize 800x640 *.jpg