NEW 218719
APNG can be rendered with wildly incorrect (inverted) colors
https://bugs.webkit.org/show_bug.cgi?id=218719
Summary APNG can be rendered with wildly incorrect (inverted) colors
Jonathan Deutsch
Reported 2020-11-09 11:47:05 PST
Created attachment 413612 [details] problem image and source pngs The attached "animated.png" does not render properly in Safari 14 or STP 115. The coloring on some frames can be extremely incorrect. - This does not happen when using Quick Look in the Finder - This does not happen in Chrome The PNG was generated with apngasm via: ``` apngasm -o animated.png -d 33 -l 1 --force sources/*.png ``` This affects content created by Tumult Hype: https://tumult.com/hype/
Attachments
problem image and source pngs (5.83 MB, application/zip)
2020-11-09 11:47 PST, Jonathan Deutsch
no flags
Safari (incorrect) vs Chrome (correct) (1.06 MB, image/png)
2020-11-09 11:49 PST, Jonathan Deutsch
no flags
Jonathan Deutsch
Comment 1 2020-11-09 11:49:34 PST
Created attachment 413613 [details] Safari (incorrect) vs Chrome (correct) Attached image of how it looks in Safari vs. Chrome. Sometimes a refresh is required in Safari to render like this.
Smoley
Comment 2 2020-11-09 12:18:21 PST
Thanks for filing. Apple internal see: rdar://60165443
Said Abou-Hallawa
Comment 3 2020-11-09 15:41:01 PST
Yes the red and the blue channels are exchanged in the frames of the APNG in WebKit.
Tim Horton
Comment 4 2020-11-11 11:11:34 PST
Only reproduces with accelerated drawing on, so this is underneath us. Thank you for the report! Feel free to file a bug at feedbackassistant.apple.com if you want to track the status, but I'll also route the one mentioned above to the right place.
Jonathan Deutsch
Comment 5 2020-11-11 11:23:14 PST
Thanks for promptly looking into this.
Note You need to log in before you can comment on or make changes to this bug.