# white ffffff # red eb2127 pnmcut -left 247 -top 394 -width 1736 -height 2232 tools/labels.ppm | pnmtopng > blocks300.png exit i=1 for y in 394 642 890 1138 1386 1634 1882 2130 2378 do for x in 247 495 743 991 1239 1487 1735 do pnmcut -left $x -top $y -width 248 -height 248 tools/labels.ppm > tools/b$i.ppm i=$(expr $i + 1) done done