Put all save as image functionality in the same place