Closed rodaine closed 7 years ago
I've encountered this too. The function is even documented to panic. I agree with this change but you should also change the documentation. :)
Ah good eye. Will add that to the patch in the morning!
Hi guys it seems the author is not very active in this project anymore, many forks have been created. I would like to make this stable and I created goexif2 which integrates your patch: https://github.com/xor-gate/goexif2/commit/0c31501343a226b5aef83a013d6e86126ceca28e
Encountering panics when ExposureTime values have a denominator of 0 in the RatVal. This change adds a sanity check to ensure that we error appropriately.