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

Allow PixelValuesToColorFn to return null values #139

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

Tommatheussen
Copy link

@Tommatheussen Tommatheussen commented Dec 7, 2023

Some context: Before the v4 release, I was able to return an empty string in my Typescript code to get around this issue, and it did not render these tiles (or at least, those pixels did not show up, maybe they still got rendered but hidden or something). Now when a '' value is returned, it'll color the pixels black (I sort of can see why, no color values === black), but it yield weird results with other correct pixels in the same tile (see screenshot)

This now also corresponds to the returned values in some of the test files.

image

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@DanielJDufour
Copy link
Member

Thank you!

@DanielJDufour DanielJDufour merged commit 5f32437 into GeoTIFF:refactor-2023-winter Dec 7, 2023
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.

None yet

2 participants