Support saving the image as png