You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error I get:
*** struct.error: ubyte format requires 0 <= number <= 255
Reason:
exif_dict["GPS"][5] is 256 in my photo but the format enforces byte!
I tried to evaluate the exif_dict["GPS"][5] to a tuple ( e.g. (256,) ) but the same issue persisted.
I use python 3.6
The text was updated successfully, but these errors were encountered:
as simple as the following code, I get the error:
exif_dict = piexif.load(filename)
exif_bytes = piexif.dump(exif_dict)
error I get:
*** struct.error: ubyte format requires 0 <= number <= 255
Reason:
exif_dict["GPS"][5] is 256 in my photo but the format enforces byte!
I tried to evaluate the exif_dict["GPS"][5] to a tuple ( e.g. (256,) ) but the same issue persisted.
I use python 3.6
The text was updated successfully, but these errors were encountered: