WebP is a new image format that provides lossless and lossy compression for images on the web. WebP lossless images are 28% smaller in size compared to PNGs. WebP lossy images are 25-34% smaller in size compared to JPEG images at equivalent SSIM index. WebP supports losseless transparency (also known as alpha channel) with just 22% additional bytes. WebP also supports features such as animation, ICC color profile, XMP meta-data and tiling.
Webmasters and web developers can use the WebP image format to create smaller and richer images that can help make the web faster.
![]() |
How WebP works
WebP uses predictive coding to encode an image, the same methodology used by the VP8 video codec to compress keyframes in videos. Predictive coding uses the values in neighboring blocks of pixels to predict the values in a block, and then encodes only the difference (residual) between the actual values and the prediction. The residuals typically contain many zero values, which can be compressed much more effectively. The residuals are then transformed, quantized and entropy-coded as usual. WebP also uses variable block sizes.
A WebP file consists of
VP8 image
data, and a container based on
RIFF. The
standalone |
![]() |
WebP support
WebP is supported by a variety of tools. In addition, it is now natively supported in Google Chrome, the Google Chrome Frame plug-in for Internet Explorer, Opera 11.10 and Android Ice Cream Sandwich.
Developers have also added support to a variety of image editing
tools. This release also provides a lightweight encoding and
decoding library,
|
![]() |
Convert your favorite collection from PNG and JPEG to WebP by
downloading the precompiled Tell us your experience on the project's mailing list. |