Change photo in different file formats