Closed qarmin closed 3 months ago
This JPG file appears to be corrupted, so returning this error is expected. I made some minor improvements to the error message in version 1.0.1. You can try again. If you encounter any other issues, please don't hesitate to let me know. Thank you!
Is it possible to ignore the errors and return the exif data that was extracted correctly?
Sorry for replying so late, I will reopen this issue and try to improve it. Thank you for your feedback!
@qarmin @xandkar This problem has been completely solved!
The reason for this problem is that when parsing IFD
, as long as one of the DirectoryEntry
fails to parse, it will stop parsing and report an error. The new implementation will ignore the errors encountered during parsing of DirectoryEntry
, and continue trying to parse subsequent data.
If you are interested in the implementation details, you can refer to this commit.
If you encounter other problems, please feel free to submit a bug, thank you!
shows error
problematic file
301581895-a7b4390a-e9f4-46cc-b04f-eb1ba677204c.jpg.zip
exiftool only warning - properly parse entire file