Exporting the drawing as an image