Methods added to allow saving of image to arbitrary file paths.