JEFuller / Piexif

Exif manipulation with pure python script.
MIT License
12 stars 3 forks source link

Load: Ensure single byte strings (GPS LatitudeRef and LongitudeRef) can be decoded and re-encoded properly #17

Open joshanne opened 1 year ago

joshanne commented 1 year ago

Hi @davetapley , From what I've read this is the official repo for piexif? See: https://pypi.org/project/piexif/

Reading the EXIF tags from an image appears to be corrupting the GPSLatitudeRef and GPSLongitudeRef fields in the EXIF data. Writing this data back to their fields is resulting in some applications unable to process the geotag in the images.

davetapley commented 1 year ago

@joshanne yes! Thanks for the contribution.

I need to actually do a release since taking ownership of this project (see https://github.com/hMatoba/Piexif/issues/122), so this is a good motivation. I will merged and release ASAP 🙏🏻