A new image format for the Web
2015-10-28 22:44
369 查看
from: https://developers.google.com/speed/webp/
![](https://developers.google.com/_static/a1e3cc6800/images/redesign-14/devsite-logo-white-icon-new.svg)
![](https://developers.google.com/_static/a1e3cc6800/images/redesign-14/devsite-logo-white-wordmark-new.svg)
登录
搜索
产品
Make the Web Faster
WebP
首页
A new image format for the Web
![](https://developers.google.com/speed/webp/images/webp-devsite-icon.png)
WebP
首页
指南
参考网页
示例
支持
隐藏
![](http://blog.csdn.net/real_myth/article/details/images/webplogo.png)
WebP is a new image format that provides lossless and lossy compression forimages on the web. WebP lossless images are
26% smaller in size comparedto PNGs. WebP lossy images are
25-34% smaller in size compared to JPEGimages at equivalent SSIM index. WebP supports lossless transparency (alsoknown as alpha channel) with just
22% additional bytes. Transparency isalso supported with lossy compression and typically provides 3x smaller filesizes compared to PNG when lossy compression is acceptable for
thered/green/blue color channels.
Webmasters and web developers can use the WebP image format to create smallerand richer images that can help make the web faster.
encodes only the difference (residual) betweenthe actual values and the prediction.
The residuals typically contain many zero values, which can be compressed muchmore effectively. The residuals are then transformed, quantized and entropy-coded as usual. WebP also uses variable block sizes.
Lossless WebP compression uses already seen image fragments in order toexactly reconstruct new pixels. It can also use a local palette if nointeresting match is found. This palette is continuously updated to re-userecent colors. This compression mode is
named "VP8L" and shares some commonfeatures with the so-called
LZ77 compression algorithm.
A WebP file consists of
VP8 or
VP8L image data, and a containerbased on
RIFF. The standalone
tarball.
Developers have also added support to a variety of image editing tools. Thisrelease also provides the lightweight encoding and decoding library
download page.
Linux, Windows or Mac OS X.
Tell us your experience on the project's
mailing list.
本页面中的内容已获得知识共享署名 3.0 许可,并且代码示例已获得
Apache 2.0 许可;另有说明的情况除外。有关详情,请参阅我们的网站政策。
上次更新日期:十月 9, 2015
Code Repositories
Submitting Patches
Mailing List
Issue Tracker
Source and Binaries
Facebook
Google+
Medium
Twitter
YouTube
Google Developer Groups
Google Developer Experts
Startup Launchpad
参与用户体验研究
Google Play Console
Cast SDK Console
Chrome 网上应用店信息中心
iOS
网络
游戏
所有产品
招贤纳士
条款 |
隐私权
العربيّةбългарскиcatalà
简体中文繁體中文Hrvatski
českydanskNederlands
Englishفارسیsuomi
françaisDeutschΕλληνικά
עבריתHindiMagyar
Bahasa Indonesiaitaliano日本語
한국어latviešu
Lietuviškainorsk (bokmål)
norsk (nynorsk)polskiPortuguês Brasileiro
PortuguêsRomână
Русскийсрпскиslovenský
SlovenščinaespañolEspañol (América Latina)
svenskaภาษาไทย
TürkçeУкраїнськаTiếng Việt
<img height="1" width="1" src="//www.googleadservices.com/pagead/conversion/992540712/?label=qio2CKCPwQMQqPCj2QM&guid=ON&script=0" _xhe_src="//www.googleadservices.com/pagead/conversion/992540712/?label=qio2CKCPwQMQqPCj2QM&guid=ON&script=0"/>
登录
搜索
产品
Make the Web Faster
WebP
首页
A new image format for the Web
![](https://developers.google.com/speed/webp/images/webp-devsite-icon.png)
WebP
首页
指南
参考网页
示例
支持
隐藏
A new image format for the Web
![](http://blog.csdn.net/real_myth/article/details/images/webplogo.png)
WebP is a new image format that provides lossless and lossy compression forimages on the web. WebP lossless images are
26% smaller in size comparedto PNGs. WebP lossy images are
25-34% smaller in size compared to JPEGimages at equivalent SSIM index. WebP supports lossless transparency (alsoknown as alpha channel) with just
22% additional bytes. Transparency isalso supported with lossy compression and typically provides 3x smaller filesizes compared to PNG when lossy compression is acceptable for
thered/green/blue color channels.
Webmasters and web developers can use the WebP image format to create smallerand richer images that can help make the web faster.
How WebP Works
Lossy WebP compression uses predictive coding to encode an image, the samemethodology used by the VP8 video codec to compress keyframes in videos.Predictive coding uses the values in neighboring blocks of pixels to predictthe values in a block, and thenencodes only the difference (residual) betweenthe actual values and the prediction.
The residuals typically contain many zero values, which can be compressed muchmore effectively. The residuals are then transformed, quantized and entropy-coded as usual. WebP also uses variable block sizes.
Lossless WebP compression uses already seen image fragments in order toexactly reconstruct new pixels. It can also use a local palette if nointeresting match is found. This palette is continuously updated to re-userecent colors. This compression mode is
named "VP8L" and shares some commonfeatures with the so-called
LZ77 compression algorithm.
A WebP file consists of
VP8 or
VP8L image data, and a containerbased on
RIFF. The standalone
libwebplibrary serves as a referenceimplementation for the WebP specification, and is available fromour git repository and as a
tarball.
WebP Support
WebP is natively supported in Google Chrome and the Opera browser, and bymany other tools and software libraries.Developers have also added support to a variety of image editing tools. Thisrelease also provides the lightweight encoding and decoding library
libwebpand the command line tools
cwebpand
dwebpforconverting images to and from the WebP format. The full source code isavailable on the
download page.
WebP Converter Download
Convert your favorite collection from PNG and JPEG to WebP by downloading theprecompiledcwebpconversion tool for
Linux, Windows or Mac OS X.
Tell us your experience on the project's
mailing list.
本页面中的内容已获得知识共享署名 3.0 许可,并且代码示例已获得
Apache 2.0 许可;另有说明的情况除外。有关详情,请参阅我们的网站政策。
上次更新日期:十月 9, 2015
![](https://oscdn.geek-share.com/Uploads/Images/Content/201910/15/c1a8886b6f38865bf52970fada289865.png)
Learn
Code RepositoriesSubmitting Patches
![](https://oscdn.geek-share.com/Uploads/Images/Content/201910/15/598b3b29947556e67c7a93d7f07e4ca0.png)
Connect
Mailing ListIssue Tracker
![](https://oscdn.geek-share.com/Uploads/Images/Content/201910/15/11f08cf852aec7ce49f5357bc240da8a.png)
Downloads
Source and Binaries社交沟通
博客Google+
Medium
YouTube
计划
Women TechmakersGoogle Developer Groups
Google Developer Experts
Startup Launchpad
参与用户体验研究
Developer Consoles
Google Developers ConsoleGoogle Play Console
Cast SDK Console
Chrome 网上应用店信息中心
浏览
AndroidiOS
网络
游戏
所有产品
招贤纳士
条款 |
隐私权
العربيّةбългарскиcatalà
简体中文繁體中文Hrvatski
českydanskNederlands
Englishفارسیsuomi
françaisDeutschΕλληνικά
עבריתHindiMagyar
Bahasa Indonesiaitaliano日本語
한국어latviešu
Lietuviškainorsk (bokmål)
norsk (nynorsk)polskiPortuguês Brasileiro
PortuguêsRomână
Русскийсрпскиslovenský
SlovenščinaespañolEspañol (América Latina)
svenskaภาษาไทย
TürkçeУкраїнськаTiếng Việt
<img height="1" width="1" src="//www.googleadservices.com/pagead/conversion/992540712/?label=qio2CKCPwQMQqPCj2QM&guid=ON&script=0" _xhe_src="//www.googleadservices.com/pagead/conversion/992540712/?label=qio2CKCPwQMQqPCj2QM&guid=ON&script=0"/>
相关文章推荐
- php单点登录SSO(Single Sign On)的解决思路
- 使用sts构建Maven Spring webmvc项目
- java中常见的几种Runtimeexception
- python
- Centos7安装图形界面
- Redis 【string】 一句话说明
- NSFileManager的简单介绍,在沙盒目录下对文件进行增删改查
- IOS--之UIWindow(窗口)、UIView(视图)
- DP-POJ-3666-Making the Grade
- C#编程--运算符
- 12、json、GridView、缓存
- Unix命令行程序和内建指令(更多)
- Android Scrollview+Listview 实现不同条目点赞并计数功能及原理分析(1)
- 京都的秋
- noip 10.28模拟
- 11.webview、shareSDK
- 项目冲刺--第一天
- POJ 3295 递归模拟
- Linux 查看PCI-E插槽使用情况
- Notepad++ 快捷键 大全