-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Exception is thrown when reading tags from an image #248
Comments
tags.js use Constants.USE_THUMBNAIL but wasn't searched while replacing. #248
tags.js use Constants.USE_THUMBNAIL but wasn't searched while replacing. #248
Hi! Thanks for the report. I've fixed the missing |
Thumbnail exclusion fix released as version 4.13.1. I'll keep working on the real error. I have something that seems to work but need to understand why. 😅 |
Replacement now works but my setup actually reads source files directly so I had to add rule to my own webpack config:
|
That's a shame. There is a suggestion for helping with that situation and it would be a great addition but that will be some time in the future: #243 |
In some files in the wild, non-0th IFDs have a pointer to a next IFD even though that should not be possible. Only the 0th IFD should have this pointer and it is used for 1st IFD which is a thumbnail. In the specific case of #248 those invalid pointers also pointed to the same IFDs that contained them which caused an infinite loop. #248
A real fix for this is now released as version 4.13.2. Thanks for reporting. After the fix another two of my test files produced thumbnails that the library hadn't found before. |
Description
Exception is thrown when reading tags from an image.
It seems to be caused by reading some thumbnail data. I' ve tried to disable thumbnails with custom exif configuration, but according to your webpack config the string replacement regex doesn't cover
tags.js
file (this should be fixed too).Additional details
How to reproduce
What I expected would happen:
Thags would be read.
What really happened:
Exception is thrown:
The text was updated successfully, but these errors were encountered: