Add Konane, (very) early drafts of Emergo/Fanorona/Yote/Gomoku, fix repetitions detec...
[vchess.git] / client / public / images / pieces / Pacosako / script.sh
1 color=w
2 for piece in p r n b q k; do
3 convert "$color""$piece".png -crop 100x128+0+0 "$color""$piece"_.png
4 done
5 color=b
6 for piece in p r n b q k; do
7 convert "$color""$piece".png -crop 100x128+28+0 "$color""$piece"_.png
8 done
9 for p1 in p r n b q k; do
10 for p2 in p r n b q k; do
11 convert +append w"$p1"_.png b"$p2"_.png out_"$p1""$p2".png
12 convert out_"$p1""$p2".png -resize 128x128\! res_"$p1""$p2".png
13 done
14 done
15 # Finally: manual renaming + cleaning (TODO)