Imagemagick - Resize/Stretch Images

for file in *.jpg; do convert $file -resize 'WxH!' $file; done

Convert image type to another image type:

for file in *.gif; do
	jpgname=${file%.*}.jpg
	convert $file $jpgname
done
Comments