rollerverbrauch/create_icons.sh

18 lines
419 B
Bash
Raw Permalink 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
2016-04-23 23:08:39 +02:00
convert ./icon_orig.png -resize ${SIZE}x${SIZE} app/rollerverbrauch/static/apple-touch-icon-${SIZE}.png
2015-03-22 10:54:33 +01:00
done
2015-03-22 13:31:03 +01:00
2016-04-23 23:08:39 +02:00
convert ./icon_orig.png -resize 192x192 app/rollerverbrauch/static/android-icon-192x192.png
2015-03-22 13:31:03 +01:00
SIZES="16 32 96"
for SIZE in $SIZES
do
2016-04-23 23:08:39 +02:00
convert ./icon_orig.png -resize ${SIZE}x${SIZE} app/rollerverbrauch/static/favicon-${SIZE}.png
2015-03-22 13:31:03 +01:00
done