Imagemagick - Resize/Stretch Images
Jul 16, 2015

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