How do you download an image and extract Exif data using Python PIL?
问题 I am trying to read the Exif data from a downloaded image. I save the image to my computer in one function then try to read the data in another function, but I keep getting a bad mode error. I have been able to read the data from a pre saved image and just used ._getexif() but when I try to do the same thing with the image I download it does not work. What am I doing wrong? Here is the loop that calls the two functions. else: imgTags = findImages(url) for imgTag in imgTags: imgFileName =