Skip to content

Conversation

@kylebarron
Copy link
Member

@kylebarron kylebarron commented Jan 12, 2026

Closes #175

Copy link

@mdsumner mdsumner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The functions black_zero_to_rgb(float value) and white_zero_to_rgb(float value) expect a float, but color is a vec4.

@mdsumner
Copy link

that was tested in concert with PRs

#180 and #182

https://projects.pawsey.org.au/image-cogs/images/gebco_boxmerc_8192_UInt16.tif

created by

gdal_translate /vsicurl/https://projects.pawsey.org.au/idea-gebco-tif/GEBCO_2024.tif -scale -ot UInt16 -outsize 8192 4096 -of COG -co OVERVIEW_COUNT=3 /tmp/mycogs/gebco_8192_UInt16.tif
image

@kylebarron
Copy link
Member Author

The functions black_zero_to_rgb(float value) and white_zero_to_rgb(float value) expect a float, but color is a vec4.

Yes, I might not have pushed my last commit on this branch

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.

Support grayscale (ZeroIsBlack)

3 participants