aboutsummaryrefslogtreecommitdiff
path: root/assets/gen.sh
blob: 76ab27f460dddc8d041d65c682775cde44e34515 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash
../build/sprite-packer ./sprites.bmp src/*png
convert ./sprites.{bmp,png}
# convert -antialias -scale 32x32 src/03-barbarian.png sok.ico
# convert src/03-barbarian.png -background white -alpha off \
#           -define icon:auto-resize="32,16" \
#           sok.ico
convert src/00-none.png src/03-barbarian.png -flatten -antialias -depth 8 -define icon:auto-resize=64,32,16 sok.ico