domlysz / tyf

Pythonic way to read and edit ifd tag files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tyf

pypi

pypi

pypi pypi pypi

Why this package ?

Tyf package provides pythonic way to view Exif data from TIFF and JPEG files.

>>> import Tyf
>>> jpg = Tyf.open(r".\IMG_20150730_210115.jpg")
>>> tif = Tyf.open(r".\CEA.tif")
>>> geotiff = Tyf.gkd.Gkd(tif[0])
>>> print(tif[0]["ImageWidth"])
514
>>> print(jpg["GPSLatitude"])
(51.2095416, 0.0, 0.0)
>>> print(geotiff["GeographicTypeGeoKey"])
4267

Contributing

Bug report & feedback

Use project issues.

Add / modify / fix code

Guidance words: keep it simple and solid!

  1. open a issue to propose your contribution
  2. once issue is granted
  • fork this repository
  • edit your contribution
  • start a pull request

TODO

  • command line utility script
  • API documentation

About

Pythonic way to read and edit ifd tag files.


Languages

Language:Python 99.4%Language:HTML 0.6%