Huge png image not displayed on Chrome
Reported by
jorge.mo...@herolens.com,
Jul 19
|
||||||
Issue description
Chrome Version : 67.0.3396.99
OS Version: OS X 10.13.5
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
Safari: OK
Firefox: OK
IE/Edge:
What steps will reproduce the problem?
1. Download image at https://drive.google.com/open?id=1Tm8WVXRdvCNb3wqFtvk421EMCXU1dLg5
2. Open image with Chrome
What is the expected result?
Image will be shown correctly
What happens instead of that?
Small black square with white border is displayed.
Please provide any additional information below. Attach a screenshot if
possible.
Optimizing the image with https://compresspng.com/ reduces the file size to ~30Kb and the image is displayed properly.
UserAgentString: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36
,
Jul 19
There's something odd about this image. It displays when you open DevTools. Over to the decoding team to take a look at what might be happening.
,
Jul 19
Firefox can't display it too. But Internet Explorer and all graphics utilities I have (viewers or editors) display it without any problems. Evidently this is a bug in the library that Chrome uses, libpng. Kind of confirmed by observing the same bug in ImageMagick's convert utility.
,
Jul 19
My original report said that it worked on Firefox. However, I was using an old version of Firefox. I just updated and the latest version isn't displaying the image. Here is another image which has the same problem https://drive.google.com/open?id=1fghxElxNzNhUpF9NeMT055s4u9QqQYf0
,
Jul 19
,
Jul 19
Broken by r510438 "Reland "Update libpng to 1.6.34" in Chrome 64. Fixed by r551838 "Turn large PNG chunks into benign errors" in Chrome 68 (stable in 1-2 weeks). The speed is abysmal though: it takes about 10 seconds to display the images. It's an ancient regression introduced in Chrome 28 - in older versions this png was rendered in under 1 second. However, even 1 second before Chrome 28 was too long: all graphics utilities and Internet Explorer display this file instantaneously because the image is actually small, there's simply a big metadata comment added by Adobe Photoshop, which can be skipped.
,
Jul 23
Thanks for filing the issue! Able to reproduce the issue on reported chrome version 67.0.3396.99 using Mac 10.13.1, but the issue seems to be fixed in latest beta and canary. @Reporter: Could you please check the same on latest beta/canary and let us know if it the issue is resolved.
,
Jul 23
I confirm that the image displays in Chrome Canary. However, it does take a lot of time to render, as mentioned in comment 6.
,
Jul 23
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 30
Able to reproduce the issue on reported chrome version 67.0.3396.99 also on latest chrome 70.0.3507.0 using Mac 10.13.5, Ubuntu 17.10 and Windows 10. Note: As per comment #8 we are able to reproduce the issue >> "However, it does take a lot of time to render, as mentioned in comment 6." Same behavior is seen on M60(60.0.3112.113) hence considering it as non-regression and marking it as Untriaged. Thanks! |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by lgrey@chromium.org
, Jul 19