Exporting as an image file