Skip to content
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

[TIFF] EXIF tags may break reader #54

Closed
n-lagomarsini opened this issue Aug 5, 2013 · 0 comments
Closed

[TIFF] EXIF tags may break reader #54

n-lagomarsini opened this issue Aug 5, 2013 · 0 comments
Labels

Comments

@n-lagomarsini
Copy link
Contributor

When reading a TIFF Image with EXIF metadata using the TIFFImageReader, it is possible to find an exception. This exception happens when the EXIF IFD pointer tag has not the TIFF Tag type LONG(type = 4) but the IFD_POINTER type (type = 13). This new Tag type has been added in the Tech. Note 1 inside TIFF Specification Support and is not recognized by the reader. For this reason the EXIF IFD pointer doesn't load the EXIF IFD data but only the pointer associated. This lead to a ClassCastException when the TIFFImageReader tries to cast the EXIF IFD pointer data with the TIFFIFD class.

dromagnoli added a commit that referenced this issue Aug 7, 2013
Fixed Issue #54 and minor fixes on TIFFReadTest
@simboss simboss closed this as completed Aug 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants