I kept modifying the script and adde bump mapping and antialias, so that the puzzle pieces look nicer. On a side note, I noticed that a reduction of up to 20MB of the size of the package can be obtained by running optipng on all png files...