Closed annacesar closed 5 years ago
I have tried to add the focal length (210 mm) to exif file using:
exif_dict["0th"][piexif.FocalLength] = (210,100)
but I got the error: AttributeError: module 'piexif' has no attribute 'FocalLength'
How can I solve the issue? Thanks
May be you can use: piexif.ExifIFD.FocalLength
I have tried to add the focal length (210 mm) to exif file using:
exif_dict["0th"][piexif.FocalLength] = (210,100)
but I got the error: AttributeError: module 'piexif' has no attribute 'FocalLength'
How can I solve the issue? Thanks