Issue metadata
Sign in to add a comment
|
PNG Transparency not rendered properly when hardware acceleration is turned on
Reported by
noa...@gmail.com,
Nov 13
|
||||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36 Example URL: https://jsfiddle.net/thecoon/87pLdm5u/ Steps to reproduce the problem: 1. Run Chrome/Chromium version >67.0.3396.99 on Arch Linux (GNOME) 2. Turn off hardware acceleration 3. View PNG images with transparent or semi-transparent pixels on a light background 4. Transparent pixels show up as shades of black/green solid colors What is the expected behavior? Pixels should be completely transparent or semi-transparent colors which blend with the background color What went wrong? The URL attached is a JSFiddle I made which shows this images (https://www.google.com/images/nav_logo242.png) on a white background (because Chromium defaults to a dark background when displaying images alone). One screenshot was taken with hardware acceleration turned on, the other with hardware acceleration turned off. Does it occur on multiple sites: Yes Is it a problem with a plugin? No Did this work before? Yes 67.0.3396.99 Does this work in other browsers? Yes Chrome version: 70.0.3538.102 Channel: stable OS Version: Arch Linux Flash Version: lspci output: VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
,
Nov 13
Looks like bug 867813 fixed in Chrome 71.
,
Nov 13
Thanks looks like it. noam09@: please try Chrome Beta and confirm it's fixed. If you're still seeing the issue feel free to reply and we can reopen this bug separately.
,
Nov 14
Thank you for pointing out 867813. Just tried out Chrome Beta (71.0.3578.44) and can confirm that the issue is resolved. PNG transparency now renders fine. Although there is a very slight difference between colors rendered when hardware acceleration is toggled, but I assume that is expected behavior. Actually, now that I've looked into it further, the colors render differently for all elements in the page, not just PNG, so it's probably just the difference in hardware vs non-hardware rendering in general. Thank you to everyone involved for the fix! |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by phanindra.mandapaka@chromium.org
, Nov 13