[Webkit-unassigned] [Bug 185833] Add APNG as a supported MIME type

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 25 15:50:50 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=185833

Patrick Kettner <patrickkettner at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |patrickkettner at gmail.com

--- Comment #15 from Patrick Kettner <patrickkettner at gmail.com> ---
Patrick Kettner from the Edge team here. A bit of background - I actually caused yoav to write this patch, because I asked him wether or not it was possible for safari to load the animated PNG via the picture tag and still use fallbacks.

Essentially, a number of sites use images that involve motion. Most of the time this is still unfortunately gifs. I am working with CMSs and other providers to try to push folks off of this by moving to more modern syntax, like the picture tag so you get something like this

<picture>
  <source srcset="animation.webp" type="image/webp">
  <source srcset="animation.png" type="image/apng">
  <img src="animation.gif" > 
</picture>


That will load the smallest webp in chrome, the nearly as small apng file in firefox, and finally the extremely bloated gif for unsupported browsers.

Because safari lacks the ability to target the animated image, it will load the huge gif unnecessarily. There are of course workarounds via javascript to get it to work

in short, its not about wether or not a video is renderable on the os, it is intended to be a way to let users get the smallest and most efficient image format possible.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180525/12db228a/attachment.html>


More information about the webkit-unassigned mailing list