Python Forum
EXIF from RAW - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: EXIF from RAW (/thread-13332.html)



EXIF from RAW - RuBrain - Oct-10-2018

Hi all

What better way to get EXIF from RAW file?


RE: EXIF from RAW - nilamo - Oct-10-2018

pillow (https://pillow.readthedocs.io/en/5.3.x/index.html) has exif data as an attribute of an Image object, if it knows how to read the file format.

There's also exifread (https://github.com/ianare/exif-py).

But RAW might not have that data. exif isn't part of any standard, and a couple camera manufacturers kind of hack the data in there so if you convert to a jpeg the data is maybe still available.