Why is Firefox still not supporting .webp?
reddit.com
reddit.com
- It doesn't compress well. It's twice the size of HEVC. We have similarly-performing VP10 now, but WebP is based on VP8, which is a 2006 codec that has lost to a 2003 codec in the market.
- It's actually 2 formats under one name. WebP has VP8 and its own lossless thing separately. JPEG-XR, JPEG 2000 and FLIF can use the same algorithm for both lossy and lossless.
- The lossy variant (which is the only interesting one) does not support full-resolution color. You have to live with chroma subsampling which messes up anything with sharp saturated colors.
- It's 8 bit only. This is too little for wide gamut displays which are becoming more common.
- It doesn't support progressive decoding at all (misses out on awesome HTTP/2 optimization that gives illusion of all images loading instantly).
- The alpha channel can only use lossless encoding. It's a big problem for non-binary transparency (complex shadows, smoke). That's the major usecase for it on the web, and that's the least efficient variant of WebP.
- It suffers from generation loss waaay more than any format.
I always wondered if 4:4:4 but with more aggressive compression of chroma could beat the good old 4:2:0.
further, how can I tell which client supports which version of webp? `Accept: image/webp` is insufficient because it doesn't tell me which version or subset of features this client uses. Take for example, ios9b1 where webp was thought to have accidentally been available through CoreImage. It only supported WebP basic. But how would a server know this?
Lastly, webp is not setup to be successful for the next set of requirements: it is 8bit per channel color only (can't do 10bit needed for P3 or rec2020). It can't do full chroma subsampling (4:4:4). And the list goes on. It was a good first start, but it needs much more work before it can break out of the Google grip and get wide support.
Track the implementation here:
https://bugzilla.mozilla.org/show_bug.cgi?id=1294490
Build with '--with-system-webp':
https://bugzilla.mozilla.org/attachment.cgi?id=8808680&actio...
They have been actually actively implementing .webp support since August:
This is AFAIK really only true for images that can be lossy but which have an alpha channel, so a very specific use case.
The whole point of mozjpeg was to show that an improved JPEG encoder could achieve parity with WebP for all other use cases.
So can PNG. WebP doesn't add anything new here.
It also improves on jpeg
Debunked in the post you're replying to. The difference disappears when the JPEG encoder is updated (in a backwards compatible manner!) with modern encoding techniques the WebP encoder also uses, instead of ones dating back to 1998...
Webp compresses to much smaller file sizes than PNG in lossless mode.
Debunked in the post you're replying to
Sorry, which post?
This has caused Mozilla to revisit the issue:https://bugzilla.mozilla.org/show_bug.cgi?id=1294490
WebP on the other hand is a proprietary format developed by a single company, an implementation of which is made available under an Open Source License.
So yes it's patent-encumbered but no more patent-encumbered than WebP.
https://chromium.googlesource.com/webm/libwebp/+/master/PATE...
On the positive side, it's now old enough that some key patents (e.g. arithmetic coding) have actually expired.
Progressive enhancement applies to more than just JS, and we've already been provided with a standard way to not have to care about browser support.
Imgix offers this as "Automatic Content Negotiation": https://docs.imgix.com/tutorials/improved-compression-auto-c...
If you enable the flag (or, disable the built-in whitelist), then Firefox uses GStreamer (and I believe DirectShow on Windows or Quartz on macOS, but I'm not sure) to display the videos.
There also used to be the option of using MPlayer as a plugin, but NPAPI support was unfortunately removed.
Why not have Amiga IFF images on the web? ;)
Now either they manually add trusted support for all the additional formats (which would mean basically rewriting ImageMagick, but without the security issues, which is really hard considering the huge amount of file formats out there) or they rely on an external library and risk something like ImageTragick to cause global machine ownage of never before seen scale.
No. I like my browsers to be conservative there, though JPEG2000 would be cool to have :p
[0] a few DataTypes: http://www.monkeyhouse.eclipse.co.uk/amiga/boingbag/datatype...