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
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 details)
Built Distribution
gpsexif-0.3-py3-none-any.whl
(4.1 kB
view details)
File details
Details for the file gpsexif-0.3.tar.gz
.
File metadata
- Download URL: gpsexif-0.3.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59eadbeada84a797d952033b859e722c93d05ae901c1d146ad46cb20efd5a945 |
|
MD5 | 56cc4c9e21441be905e1dde6b5bf4399 |
|
BLAKE2b-256 | 6d778aa2319da53516c308497fabea0f6d07f0e3c410db22cb0bf1e48a093095 |
File details
Details for the file gpsexif-0.3-py3-none-any.whl
.
File metadata
- Download URL: gpsexif-0.3-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94590cecae9a108d911c32e0c60ca73e660b7aa7b4faa647df294329204a10c2 |
|
MD5 | 145889dd763768dab8b513a3629d2c09 |
|
BLAKE2b-256 | f7cc390fdff121ae92de3a3ce4d93ce2b5765278797030209aecbc31b7aa81f6 |