File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 22Change Log
33**********
44
5+ 2.3.1 — 2020-08-07
6+ * Fix bug introduced with v2.3.0 in HEIC processing.
7+
582.3.0 — 2020-08-03
69 * Add notice on Python2 EOL
710 * Modernize code and improve testing, split up some huge functions
Original file line number Diff line number Diff line change 1010from .utils import ord_ , make_string
1111from .heic import HEICExifFinder
1212
13- __version__ = '2.3.0 '
13+ __version__ = '2.3.1 '
1414
1515logger = get_logger ()
1616
Original file line number Diff line number Diff line change 88
99# We parse just enough of the ISO format to locate the Exif data in the file.
1010# Inside the 'meta' box are two directories we need:
11- # 1) the 'iinf' box contains 'infe' records, we look for the item_ID for 'Exif'.
12- # 2) once we have the item_ID , we find a matching entry in the 'iloc' box, which
11+ # 1) the 'iinf' box contains 'infe' records, we look for the item_id for 'Exif'.
12+ # 2) once we have the item_id , we find a matching entry in the 'iloc' box, which
1313# gives us position and size information.
1414
1515import struct
@@ -227,7 +227,7 @@ def find_exif(self):
227227 assert ftyp .major_brand == b'heic'
228228 assert ftyp .minor_version == 0
229229 meta = self .expect_parse ('meta' )
230- item_id = meta .subs ['iinf' ].exif_infe .item_ID
230+ item_id = meta .subs ['iinf' ].exif_infe .item_id
231231 extents = meta .subs ['iloc' ].locs [item_id ]
232232 logger .debug ('HEIC: found Exif location.' )
233233 # we expect the Exif data to be in one piece.
You can’t perform that action at this time.
0 commit comments