Few days ago, i was given a task to create a gallery for a website. The images i got were around 3000x2000 resolution, each having 3 MB size. I thought to down scale those images so that i could easily upload and manage them in the gallery of the website. Then came "Imagemagick" into the scene. With just a line of shell command i converted 300 odd images into 600x400 resolution.
:~/ convert *.JPG -scale 600x480 output.jpg
You need to have the imagemagick package to use this command. You can just do an
:~/ apt-get install imagemagick
The output files will be created like output-0.jpg, output-1.jpg, etc...