A new image format for the Web
2016-09-01 11:30
726 查看
A new image format for the Web
目录How WebP Works
WebP Support
WebP Converter Download
WebP is a modern image format that provides superior lossless
and lossy compression for images on the web. Using WebP, webmasters and web developers can create smaller, richer images that make the web faster.
WebP lossless images are 26% smaller in size compared to PNGs. WebP
lossy images are25-34% smaller than comparable JPEG images at equivalent SSIM quality
index.
Lossless WebP supports transparency (also known as alpha channel) at a cost of just 22%
additional bytes. For cases when lossy RGB compression is acceptable, lossy WebP also supports transparency, typically providing 3× smaller file sizes compared to PNG.
More Info
for Webmasters
How WebP Works
Lossy WebP compression uses predictive coding to encode an image, the same method 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 encodesonly the difference.
Lossless WebP compression uses already seen image fragments in order to exactly reconstruct new pixels. It can also use a local palette if no interesting match is found.
WebP Compression Techniques in Detail
A WebP file consists of VP8 or VP8L image
data, and a container based on RIFF. The standalone
libwebplibrary
serves as a reference implementation for the WebP specification, and is available from our
git repository or as a tarball.
WebP Support
WebP is natively supported in Google Chrome and the Opera browser, and by manyothertools and software libraries. Developers have also added support to a variety of image editing tools.
WebP includes the lightweight encoding and decoding library
libwebpand
the command line tools
cwebpand
dwebpfor
converting images to and from the WebP format, as well as tools for viewing, muxing and animating WebP images. The full source code is available on the download page.
WebP Converter Download
Convert your favorite collection from PNG and JPEG to WebP by downloading the precompiled cwebpconversion
tool for Linux, Windows or Mac OS X.
Tell us your experience on the project's mailing list.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0
License, and code samples are licensed under the Apache 2.0 License. For details, see our Site
Policies. Java is a registered trademark of Oracle and/or its affiliates.
Lossless and Alpha Demonstration
PNG | WebP-lossless | WebP-lossy (with alpha) |
---|---|---|
WebP
Gallery
JPEG | WebP |
---|---|
相关文章推荐
- A new image format for the Web
- The User-Agent string format for human-operated web browsers
- faster rcnn test demo ---repaired for video input and save the image, label, score et al. into .mat format
- HTML5: The New Minimum for Mobile Web Devices
- The new stored format of Docker image on disk and Distribution
- what is the core technology for WEBGIS and MobileGIS
- His new book is strictly for the birds.
- Hyperlink Analysis for the Web
- Some useful tools for the Web Developer
- What's new on site Web Part for SPS [Free]
- New For Me And/Or The World
- For web.config setting,reference the book of
- PackageForTheWeb Error原因
- Intelligent Information Integration for the Semantic Web 语义网的智能信息整合
- Using IIS with VS 2005 and the new Web Project system
- Position Paper For the Workshop on Web of Services for Enterprise Computing
- Mail-list精选-[Pragprog]What's your "new lauguage" for the new year?
- The Design of Sites: Patterns, Principles, and Processes for Crafting a Customer-Centered Web Experience
- web app & part of the design for a german corp
- Using Web Services for Remoting over the Internet.