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

enable partial transparency for output image when using Colormap #689

Closed
vincentsarago opened this issue Aug 22, 2023 · 0 comments · Fixed by #690
Closed

enable partial transparency for output image when using Colormap #689

vincentsarago opened this issue Aug 22, 2023 · 0 comments · Fixed by #690
Labels
enhancement New feature or request

Comments

@vincentsarago
Copy link
Member

In the past (before rio-tiler 5.0, https://cogeotiff.github.io/rio-tiler/migrations/v5_migration/#per_dataset-per_band-mask) we allowed mask values between 0 and 255 (cogeotiff/rio-tiler#580 (comment)).

We removed this feature because we switched to numpy MaskedArray (either 0 or 255), which enabled per-band mask and much more.

If people needs to work with non-premultiplied alpha bands then please open a ticket in rio-tiler and we can discuss ways to go forward.

At the same time, it came twice in a week that people were asking for non-premultiplied alpha bands in colormap, and this is somehow maybe easier to fix

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

Successfully merging a pull request may close this issue.

1 participant