9eeae02f7061842558452495704ce3453e8d8090
2 for piece
in p r n b q k
; do
3 convert
"$color""$piece".png
-crop 100x128
+0+0 "$color""$piece"_.png
6 for piece
in p r n b q k
; do
7 convert
"$color""$piece".png
-crop 100x128
+28+0 "$color""$piece"_.png
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
15 # Finally: manual renaming + cleaning (TODO)