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

Batch resize images in Linux using imagemagick and the terminal

ImageMagick

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

Linux Services

Buy Linux CDs, DVDs, USB Flash Drives from OSDisc.com

Buy Linux CDs, DVDs, USB Flash Drives from OSDisc.com

Run Windows software on Linux

Run Windows software on Linux with Crossover Office