[Python-modules-commits] [python-exif] 11/12: add more GPS tags and endian formats
Wolfgang Borgert
debacle at moszumanska.debian.org
Mon Oct 6 22:17:33 UTC 2014
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to annotated tag 1.0.10
in repository python-exif.
commit 8a97b6a4b1b906545a23425378b41bd21b707c31
Author: Ianaré Sévi <ianare.sevi at digitick.com>
Date: Wed Sep 26 14:22:47 2012 +0200
add more GPS tags and endian formats
---
EXIF.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/EXIF.py b/EXIF.py
index d456651..86f95c9 100755
--- a/EXIF.py
+++ b/EXIF.py
@@ -424,7 +424,10 @@ GPS_TAGS = {
0x0018: ('GPSDestBearing', ),
0x0019: ('GPSDestDistanceRef', ),
0x001A: ('GPSDestDistance', ),
+ 0x001B: ('GPSProcessingMethod', ),
+ 0x001C: ('GPSAreaInformation', ),
0x001D: ('GPSDate', ),
+ 0x001E: ('GPSDifferential', ),
}
# Ignore these tags when quick processing
@@ -1651,7 +1654,8 @@ def process_file(f, stop_tag='UNDEF', details=True, strict=False, debug=False):
# deal with the EXIF info we found
if debug:
- print {'I': 'Intel', 'M': 'Motorola'}[endian], 'format'
+ print "Endian format is ",endian
+ print {'I': 'Intel', 'M': 'Motorola', '\x01':'Adobe Ducky', 'd':'XMP/Adobe unknown' }[endian], 'format'
hdr = EXIF_header(f, endian, offset, fake_exif, strict, debug)
ifd_list = hdr.list_IFDs()
ctr = 0
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-exif.git
More information about the Python-modules-commits
mailing list