resize

Use imagemagick to resize an image using a percentage:

mogrify -resize 21% *.jpg

resizes all jpegs in a directory
*WARNING* replaces original files

This next converts all the Gifs in a directory to jpegs:

mogrify -format jpg *.gif