Skip to main content

Writing / Reading GPS coordinates in photo's EXIF by Python.

Project description

GPS-EXIF

Writing / Reading GPS coordinates in photo's EXIF by Python.

Install

pip install gpsexif

APIs

  • setGPS
from gpsexif import setGPS


img_path = "input/tyg.jpg"  # use your image path
save_dir = "output"
loc = [114.353458, 30.53624997, 363.5164]
setGPS(img_path, loc, save_dir)
  • getGPS
from gpsexif import getGPS


img_path = "output/tyg.jpg"  # use your image path
loc = getGPS(img_path)

Project details


Release history Release notifications | RSS feed

This version

0.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gpsexif-0.3.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

gpsexif-0.3-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page