Saving of image : work in progress