I'm using the PIL librarie to get metadata of some photos, but I'm experimenting some problems, and I didn't find a web where read a full documentation.
I'm talking specifically about the ._getexif()
There's a simple example:
from PIL import Image
img = Image.open('DSC02619.JPG')
print( img._getexif()[36869] )
I found that the number 36869 returns the date, and I'm using it. But...
Why some photos returns me 'NoneType' object is not subscriptable ?
Why I'm using exactly this number? What other information can I get with getexift()?
I've been searching there: https://pillow.readthedocs.io/en/5.1.x/index.html#, but my questions were not answered.