Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added missing Ifd data type #119

Merged
merged 2 commits into from
Jul 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion exifread/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions exifread/tags/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down