Will WebP Finally Start Catching On?
Tags: codenewbie, ios, discuss, news
Published: 2020-06-24 22:36:37

### The News
Earlier this week, the last great browser bastion of resistance to supporting WebP image formatting fell, as Apple announced during their WWDC Keynote that the upcoming [beta release of Safari 14](https://developer.apple.com/documentation/safari-release-notes/safari-14-beta-release-notes) would finally include support for WebP images.  

The irony here is that, as I'm about to write about the virtues of WebP, it's not a supported image type on Dev.to (whether through direct upload or URL link).  I spent a fair amount of time excitedly converting some photo and video examples to WebP images for demonstration - only to realize I wouldn't even be able to use them in this post about...WebP. 
 ~~Cool.~~

This a perfect example of the extant problem with WebP - the image format is *still* not (yet) widely supported enough to create a sudden stampede of converts, even with its acceptance by all major browsers.

Most daily users will be looking for support in the various media sharing template upload sites that exist (from Instagram to messaging keyboards to other blog hosts) and in their local OS image previewer (like macOS Catalina's Preview) - without that, there's not much reason to use WebP in daily life (unless you have your own webpage).

Will Apple's reluctant acceptance of WebP support in Safari begin to shift the tide?  That remains to be seen.

Some of you may have gotten to this point of the article and are now wondering what, exactly, WebP is.  The rest of the post is for you.

---
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/nhyhgm2045f4x1frmdah.png)
### WebP Overview
[WebP](https://developers.google.com/speed/webp/) was released 2010 and was/is developed by Google as a next generation image format.  It supports lossy and lossless compression and provides significant file size reduction in comparison to (old) standard image file types, like JPEG (25-34% smaller), PNG (45%), and GIF([up to 64%](https://en.wikipedia.org/wiki/WebP)), with no loss in image quality.

There have been many successful attempts to improve upon the older generation file types, but only WebP has been adopted by most major browsers (with the notable exception of Safari, until recently).  The main benefit of smaller file sizes is faster webpage loading times.  

You can play around with tools like [Google Lighthouse](https://developers.google.com/web/tools/lighthouse) to see just how much faster a specific webpage could be (taking other optimizations into account as well) - and the speed increase can be significant (think multiple seconds).

Google also offers some [precompiled utilities](https://developers.google.com/speed/webp/docs/precompiled) if you would like to experiment with converting image files on your own machine.  If you have the `Homebrew` terminal package installed, you can simply run `brew install webp` to get the conversion utility and use [this guide](https://developers.google.com/speed/webp/docs/using) to help with the correct notation.


*<h6><span>Cover photo by <a href="https://unsplash.com/@markusspiske?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Markus Spiske</a> on <a href="https://unsplash.com/s/photos/apple-laptop?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></span></h6>*