From aef3e8e76b3b63b45e501c73625d57441fae3c5a Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Fri, 1 Sep 2017 20:54:28 +0100 Subject: [PATCH 1/2] correct spelling mistake --- exifread/classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exifread/classes.py b/exifread/classes.py index 0c64d5c..5f6eedc 100644 --- a/exifread/classes.py +++ b/exifread/classes.py @@ -193,7 +193,7 @@ def dump_ifd(self, ifd, ifd_name, tag_dict=EXIF_TAGS, relative=0, stop_tag=DEFAU # special case: null-terminated ASCII string # XXX investigate # sometimes gets too big to fit in int value - if count != 0: # and count < (2**31): # 2E31 is hardware dependant. --gd + if count != 0: # and count < (2**31): # 2E31 is hardware dependent. --gd file_position = self.offset + offset try: self.file.seek(file_position) From c7c6812bb1c251e33c1db874aea3c16302800c25 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Mon, 20 Jul 2020 10:12:32 -0400 Subject: [PATCH 2/2] Added IFD data type --- exifread/tags/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/exifread/tags/__init__.py b/exifread/tags/__init__.py index 7f633f8..885dc25 100644 --- a/exifread/tags/__init__.py +++ b/exifread/tags/__init__.py @@ -22,6 +22,7 @@ (8, 'SR', 'Signed Ratio'), (4, 'F32', 'Single-Precision Floating Point (32-bit)'), (8, 'F64', 'Double-Precision Floating Point (64-bit)'), + (4, 'L', 'IFD'), ) # To ignore when quick processing