rollerverbrauch/create_icons.sh

18 lines
371 B
Bash
Raw Normal View History

2015-03-22 10:54:33 +01:00
#!/bin/sh
2015-03-22 13:31:03 +01:00
SIZES="57 60 72 76 114 120 144 152 180"
2015-03-22 10:54:33 +01:00
for SIZE in $SIZES
do
convert ./icon_orig.png -resize ${SIZE}x${SIZE} app/static/apple-touch-icon-${SIZE}.png
done
2015-03-22 13:31:03 +01:00
convert ./icon_orig.png -resize 192x192 app/static/android-icon-192x192.png
SIZES="16 32 96"
for SIZE in $SIZES
do
convert ./icon_orig.png -resize ${SIZE}x${SIZE} app/static/favicon-${SIZE}.png
done