for file in *.svg; do convert -background black -alpha off -resize 128x128! -define bmp:subtype=RGB565 -colors 256 "$file" "${file%.*}.bmp"; done