hMatoba / piexifjs

Read and modify exif in client-side or server-side JavaScript.
MIT License
571 stars 118 forks source link

Lost / modified fields setting GPS to {} #68

Open stephenhandley opened 5 years ago

stephenhandley commented 5 years ago

I am using piexifjs to scrub GPS data. After loading the exif data with .load I set the GPS field to {} and then wrote the modified data with .insert. The GPS fields are correctly removed however I've noticed some other unexpected modifications to the output exif data after comparing the resulting image with the original using exiftool.