WebP is awesome, far better compression than JPG or PNG etc. Modern browsers support it. But, we can’t use it at all until everyone uses a browser that supports it. Because there’s no way in HTML to do fallbacks for non-supported image formats.
Remember when we wanted to use Alpha PNGs but it took years and years because we couldn’t rely on browsers implementing it?
This is an opportunity for us to define a method whereby <picture> could take a selection of resources to use depending on browser capabilty. I.e., if WebP is supported request that file, if not then fall back to a JPG or PNG, as set in the tag.
This would perhaps speed up adoption of WebP, and more importantly allow for future formats to be developed and become usable without the wait for every browser to implement whatever new formats appear and then for the public to all use such browsers.
What do you think? Should we also try to tackle this “short-sighted” file-format behaviour? I would like to be able to save 20%+ on all my images by using WebP sometime before 2020…