Attempt to clarify installation instructions a little
[vchess.git] / client / public / images / pieces / Pacosako / script.sh
... / ...
CommitLineData
1color=w
2for piece in p r n b q k; do
3 convert "$color""$piece".png -crop 100x128+0+0 "$color""$piece"_.png
4done
5color=b
6for piece in p r n b q k; do
7 convert "$color""$piece".png -crop 100x128+28+0 "$color""$piece"_.png
8done
9for 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
14done
15# Finally: manual renaming + cleaning (TODO)