-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Translucency and images with Alpha channel #1977
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
Comments
Might not be that important... |
Thank you for bringing this to attention, I wasn't sure if I'd simply done something wrong (could not reproduce cleanly.) |
Yes, thanks. We currently support an alpha channel or a translucency value but not both. |
me too I have this ask |
Yes |
Running into this now as well. How difficult would it be to address this? |
I think the error is in the GL shader - so not an easy fix as far as I can estimate. |
Ah, in this case I was using a PNG, so it wouldn't be in any SVG specific code I expect |
Oh it was missing from software renderer (I have fixed that locally) so yes looks like a GL issue |
Thanks for the prod. I finally found the solution 🎉 |
This is landed on |
Describe the bug:
When applying Translucency to an image with an alpha channel, the otherwise transparent part of the image becomes visible. Below example uses one of the default icons to show the effect.
To Reproduce:
Steps to reproduce the behaviour:
go run .
Screenshots:
Note: The background of the icon should not be darkened.
Example code:
Device (please complete the following information):
The text was updated successfully, but these errors were encountered: