Open step135 opened 1 year ago
here you can see the full list of available tags.
For your case however, you can do:
exif_dict = piexif.load("foo.jpg")
datetime_original = exif_dict["Exif"][piexif.ExifIFD.DateTimeOriginal]
@step135 you can use getattr(piexif.ExifIFD, "DateTimeOriginal")
There is a need to get EXIF data according to value of a variable, but it is not currently achievable:
It fails!
It also fails!