2048-Qt/icons/svg2png.sh
2014-04-27 00:36:44 +08:00

10 lines
252 B
Bash
Executable File

#!/bin/bash
sizes=(16 32 48 256)
for size in ${sizes[@]}; do
inkscape -z -e 2048-qt_${size}x${size}.png -w $size -h $size scalable/apps/2048-qt.svg
mkdir -p ${size}x${size}/apps
mv 2048-qt_${size}x${size}.png ${size}x${size}/apps/2048-qt.png
done