Attempt to clarify installation instructions a little
[vchess.git] / client / public / images / pieces / Titan / script.sh
CommitLineData
7e8a7ea1
BA
1taille=64
2convert wn.png -resize "$taille"x"$taille" wn_small.png
3convert wb.png -resize "$taille"x"$taille" wb_small.png
4convert bn.png -resize "$taille"x"$taille" bn_small.png
5convert bb.png -resize "$taille"x"$taille" bb_small.png
6# GIMP: manual fill by color (yellow/red). Then:
7for color in w b; do
8 for piece in r n b q k; do
9 convert -composite -gravity center $color$piece.png "$color"n_small.png $color"$piece"_1.png
10 convert -composite -gravity center $color$piece.png "$color"b_small.png $color"$piece"_2.png
11 done
12done
13# Finally: manual renaming (TODO)