Category: Linux Terminal
Added: 14th of October 2017
Viewed: 3,557 times
Batch resize images in Linux using imagemagick and the terminal

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