-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Transparency issue on IE with BlendColor filter #4715
Comments
I have to check it. I have not my windows VM right now. |
why don't you use a multiplay or overlay mode ? |
I don't know what you mean by "multiplay" |
i wanted to say "multiply" and not "multiplay", it's another blend mode, but here is what i get with the mode "tint" for the color = green applyed on the logo img : it looks like the green is added on the alpha channel, so we get yellow color (it's the sum of red+green) if the alpha part are over the red rect behind. The alpha value seems ignored when the two objects intersect. |
I think there is a parameter to choose between opacity or not.
Please give a look at filter properties or docs, and let me know if is not
stated anywhere
2018-02-14 22:06 GMT+01:00 ncou <notifications@github.com>:
… i wanted to say "multiply" and not "multiplay", it's another blend mode,
but here is what i get with the mode "tint" for the color = green applyed
on the logo img :
[image: image]
<https://user-images.githubusercontent.com/16743322/36227796-848d311c-11d2-11e8-96b9-f098d48b81cf.png>
it looks like the green is added on the alpha channel, so we get yellow
color if the alpha part are over the red rect behind. The alpha value seems
ignored when the two objects intersect.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4715 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABI4QNiFai1atADQG3EFFElgW3kUfKGbks5tU0rEgaJpZM4SDY06>
.
|
The opacity of source image should be taken in consideration. Probably a bug
2018-02-15 0:39 GMT+01:00 Andrea Bogazzi <andreabogazzi79@gmail.com>:
… I think there is a parameter to choose between opacity or not.
Please give a look at filter properties or docs, and let me know if is not
stated anywhere
2018-02-14 22:06 GMT+01:00 ncou ***@***.***>:
> i wanted to say "multiply" and not "multiplay", it's another blend mode,
> but here is what i get with the mode "tint" for the color = green applyed
> on the logo img :
>
> [image: image]
> <https://user-images.githubusercontent.com/16743322/36227796-848d311c-11d2-11e8-96b9-f098d48b81cf.png>
>
> it looks like the green is added on the alpha channel, so we get yellow
> color if the alpha part are over the red rect behind. The alpha value seems
> ignored when the two objects intersect.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#4715 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ABI4QNiFai1atADQG3EFFElgW3kUfKGbks5tU0rEgaJpZM4SDY06>
> .
>
|
Have a PR for this, coming back later |
Version
2.0
Test Case
https://jsfiddle.net/w2kdcs21/7/
Steps to reproduce
Open the jsfiddle in IE or Edge
It uses the filter BlendColor to make the image blue.
Expected Behavior
The transparent area of the PNG should remain transparent.
Actual Behavior
The transparent area of the PNG is not fully transparent anymore and a part of the red square is now pink.
PS: It's my first report and I wanted to thank you for this great tool !
The text was updated successfully, but these errors were encountered: