pythonjpegexifgeotagging

What is the best way to geotag jpeg-images with python?


I have coordinates from some source and want to tag my jpg files with them. What is the best python library for writing geotags into exif data?


Solution

  • pexif was written with geotags as a goal (my emphasis):

    pexif is a Python library for parsing and more importantly editing EXIF data in JPEG files.

    This grew out of a need to add GPS tagged data to my images, Unfortunately the other libraries out there couldn't do updates and didn't seem easily architectured to be able to add such a thing. Ain't reusable software grand!

    My main reason for writing this was to provide an easy way for geo-tagging my photos, and the library now seems mature enough to do that.