create PNG images of 2D canvas