the user might want to save the image to a disk → prepare the data