ianare / exif-py

Easy to use Python module to extract Exif metadata from digital image files.
BSD 3-Clause "New" or "Revised" License
831 stars 191 forks source link

Fix reading for long MakerNote and UserComment #165

Open Lessica opened 2 years ago

Lessica commented 2 years ago

Top-level large entries (e.g. MakerNote and UserComment) are usually in data format 7 (unspecified). See: http://www.fifi.org/doc/jhead/exif-e.html#DataForm We should simply ignore its length, read and keep its original values for further use.

But IfdTag entries inside MakerNote still have problems, which requires further investigation.