Skip to content

ebrelsford/pygeoexif

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pygeoexif

A python module for reading latitude and longitude from an image's EXIF data.

Heavily based on this gist, packaged here for ease of installation and use.

Requires PIL.

Install

Use pip: pip install pygeoexif

Usage

from PIL import Image
from pygeoexif import get_exif_data, get_lat_lon

image = Image.open(<path_to_image>)
lat, lon = get_lat_lon(get_exif_data(image))

License

MIT, as permitted by this comment in the original.

About

Simply get latitude and longitude from an image's EXIF data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages