Image Saving

Fixed an issue where unnecessary re-saving of images was occurring.