rewrite png2mesh as bwmesh
bwmesh