for file in *.png; do
    convert $file -resize 90x90 ${file:0:${#file}-3}gif
done
