Saving an Image to the Camera Roll from a URL
I found a small piece of code posted on this forum to save an image from a url to the camera roll and it works very well. I added a small text manipulation of the URL and a notification below but I have one issue. The image saved to the camera roll has no EXIF metadata. Am I doing somthing wrong or is this not possible?
from urllib import urlopen
from io import BytesIO
dburl = clipboard.get()
url = dburl.replace('www', 'dl')
img = Image.open(BytesIO(urlopen(url).read()))
notification.schedule('Photo saved to camera roll', 1, 'default',)