Skip to content Skip to sidebar Skip to footer

Why Is My _getexif() Returning None?

I have the following Python script: from PIL import Image from PIL.ExifTags import TAGS img = Image.open('/path/1.jpg') info = img._getexif() print info Why is info returned as N

Solution 1:

I think the issue was because the image I was reading seemed not to have exif data in the first place, as opposed to the images taken using a mobile phone camera for instance, which the image I was reading apparently hasn't.


Post a Comment for "Why Is My _getexif() Returning None?"