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

Transparency issue on IE with BlendColor filter #4715

Closed
neirda opened this issue Feb 13, 2018 · 7 comments · Fixed by #4936
Closed

Transparency issue on IE with BlendColor filter #4715

neirda opened this issue Feb 13, 2018 · 7 comments · Fixed by #4936

Comments

@neirda
Copy link

neirda commented Feb 13, 2018

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 !

@asturur
Copy link
Member

asturur commented Feb 13, 2018

I have to check it. I have not my windows VM right now.

@ncou
Copy link
Collaborator

ncou commented Feb 13, 2018

why don't you use a multiplay or overlay mode ?

@neirda
Copy link
Author

neirda commented Feb 14, 2018

I don't know what you mean by "multiplay"
There is the same issue with the overlay mode, it's just more or less visible according the color.

@ncou
Copy link
Collaborator

ncou commented Feb 14, 2018

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

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.

@asturur
Copy link
Member

asturur commented Feb 14, 2018 via email

@asturur
Copy link
Member

asturur commented Feb 14, 2018 via email

@asturur
Copy link
Member

asturur commented Apr 28, 2018

Have a PR for this, coming back later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants