Resizing image files

mogrify command

See also

imagemagick_tools

Resize all JPEGs in a directory

This command requires the imagemagick libraries and will resize all files with the .JPG extension to a width of 800 pixels and will keep the same proportions as the original image.

mogrify -resize 800 *.JPG

google picasa use case

cp *.JPG web
cd web
mogrify -resize 800 *.JPG
date; google picasa -d "2011-10-27" -n "Minou et Ali à Annecy le 27 octobre 2011" -t "Annecy, 27 octobre 2011" create "Annecy, 27 octobre 2011" *.JPG; date