Added ability to export as image.