Open ghost opened 5 years ago
This is a design flaw. piexif.dump()
should be able to handle anything that piexif.load()
returns. Therefore, there are two solutions:
I'm getting the same thing for tag 41729.
What was your solution? Just that workaround you posted, or is there a specific change suggested for piexif?
Just got similar issue with tag 37380 from a Bushnell camera BS685BWYx0823F Workaround:
exif = piexif.load(src)
exif['Exif'][37380] = (0, 1)
exif_bytes = piexif.dump(exif)
piexif.insert(exif_bytes, dst)
I assume these issues are from the camera manufactures not following the (lack of ) Exif standards correctly?
@PmasonFF Yes. There are some manufactures that has incorrect specification. I think Piexif checks data type when dump
.
Minimal example:
Raises:
Link to ComponentsConfiguration definition
Workaround:
Picture (taken with Samsung Galaxy S III mini):![picture](https://user-images.githubusercontent.com/48385947/54073205-a4d43e00-4284-11e9-8b6f-0e08e06732d4.jpg)