pyexif reads the gps tags of jpgs
Switch branches/tags
Nothing to show
Clone or download
Latest commit 8a02e85 Oct 10, 2015



Read EXIF from jpegs.

How to use the package

  • Install package
  • Run the following code
"""Sample code to demonstrate pyexif"""
from pyexif.pyexif import Exif
file_name = “your_image.JPG"
result = Exif.load_image(file_name)
print ("The available attributes are: %s" % result.gps_attributes)
print ("Your location: %s %s" %, result.lon)

Further Readings

Exif specifications:

Thanks to

The works was inspired by erans: Daniel Brown: