ianare / exif-py

Easy to use Python module to extract Exif metadata from digital image files.
BSD 3-Clause "New" or "Revised" License
831 stars 191 forks source link

exifread return incorrect value #174

Open RhoLuke opened 1 year ago

RhoLuke commented 1 year ago

Hi, i'm trying to extract the exif valies from a raw image, the exifread function process_file seems to work, but some tags are incorrect. I report an example below:

exif = exifread.process_file(file, detail=False)

if I type exif['Image Orientation']

I obtain the following output: (0x0112) Short=Rotated 90 CW @ 78

but if I type exif['Image Orientation'].values I obtain the following ouput: [6]

kikislater commented 1 year ago

What about exif['Image Orientation'].printable ?