Try Amazon Prime for 30 days

Buy best selling Linux books

<< View More Computer Tips

Added On: 14/10/17   |    Category: Linux    |    Number of Views: 975

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

Search

Services

The Linux Foundation

Best selling Unix / Linux books
Nvidia Graphics Cards
Save 15% off .CO.UK domains at 123-Reg
Save 15% off .COM domains at 123-Reg
cPanel Hosting Plans
Xilo Web Hosting Plans