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 plugin: accept byte-type for fields in getAsInts #297

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MichiHo
Copy link

@MichiHo MichiHo commented Feb 22, 2024

As noted in #296, the TIFF tag "ExtraSamples" can occur with data type BYTE, which currently leads to a failure in the getAsInts method which renders one unable to process the TIFF file e.g. in Geoserver. This simple fix adds support for byte type to the method, which is only used for this and one other TIFF tag.

@aaime
Copy link
Member

aaime commented Sep 16, 2024

The change per se looks sensible, but I'm not going to merge it without a test against some sample data proving that it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants