hMatoba / Piexif

Exif manipulation with pure python script.
MIT License
367 stars 81 forks source link

Piexif not working to geotag all images #63

Closed sameenashaikh29 closed 6 years ago

sameenashaikh29 commented 6 years ago

Hi, I've been using the piexif library since quiet a while now. But now i've been facing an error. I'm taking the gps valuess from an autopilot, clicking images on my camera by triggerring from raspberry pi code and then the code automatically geotags the images using this library. But since 3-4 days i'm facing an issue. My photos are clicked, moved to a folder, and then according to the code should be geotagged. But while the geotagging is done the last 4 to 5 photos get corrupted. for eg, if i take 50 photos, 45 photos are there in the folder and are geotagged, 46, 47, 48 are corrupted, i get empty file and 49, 50 are there but not geotagged.

Can you help me with this?