Implemented save as image