ianare / exif-py

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

fix cycle in list ifd, fix #161 #162

Closed rom1504 closed 2 years ago

rom1504 commented 2 years ago

In some rare case (see #161), there can be a cycle in the ifd, resulting in an infinite loop when trying to extract the exif of an image this fixes this problem

rom1504 commented 2 years ago

I published this as https://pypi.org/project/ExifRead-nocycle/ ; if anyone wants the fix sooner they can use it

But of course I would rather see this merged and published!

rom1504 commented 2 years ago

Thanks for merging!

Could you consider doing a new pypi release?