GULANGGULING.COM

How to resize images from the command line

How to resize images from the command line on linux (Ubuntu) using imagemagick.

Install imagemagick :

sudo apt-get install imagemagick

Create a directory in the location named “resized-pictures” as follows :

$ mkdir resized-pictures

Now run the mogrify command from the same location.

$ mogrify -path ./resized-pictures/ -resize 800x600 *.jpg

Now, you can resize all images in folder  do you like..

regards,…