I have done a script to convert recursive .jpg files to another size:
echo $re
mkdir "$re"_tmp
for a in *.jpg ; do convert "$a" -resize $re "$re""_tmp/${a%.*} ["$re"].jpg" ; done
I'd like integrate a multi extension support: png, bmp, etc. better with:
FILEFORMAT="jpg, JPG, png, PNG, bmp, BMP"
any idea to build it?
PS: variable re is the new size 1024x768 (or 800x600, etc)
*.jpeg
as well. Apparently someone in the distant past thought it should be*.jpg
and this misnomer caught on in a big way... but it seems quite wrong: as if the Joint Photographic Experts Group became the Joint Photographic Group, the implication being that they're not experts!