WebP
A modern web image format developed by Google, supporting lossy compression, lossless compression, transparency, and animation. Compared to JPEG and PNG, WebP produces smaller file sizes at equivalent image quality and has achieved broad support across mainstream browsers.
Timeline (last 90 days)
Images should be converted to modern formats such as WebP/AVIF and sized as needed, and fonts can be subsetted or use font-display to control loading behavior, in order to improve front-end performance.
GIF files are usually larger than video and do not support audio tracks, which is one of the reasons alternative formats such as WebP and APNG have emerged.
GIF uses a 256-color palette limitation, so its color expressiveness is weaker than PNG or WebP, but its compatibility is extremely broad, and almost all browsers, chat apps and social platforms can render it directly.
The WebP format supports an alpha channel, whereas the JPEG format does not support an alpha channel at all.
WebP and AVIF formats are generally smaller than JPEG/PNG at the same quality, but browser compatibility must be considered, and a fallback can be provided via the `<picture>` element with `srcset`.
AVIF is based on AV1 intra-frame compression, and at equal subjective quality its file size can often be compressed to about sixty percent of WebP.
For sites serving open-internet users with frequently updated images, AVIF with a WebP fallback is currently the safest option.
Lossless compression merely re-encodes the data and can be fully restored after decompression, making it suitable for text and vector graphics; lossy compression discards some information, usually reducing resolution or increasing the compression rate for images, with a marked reduction in size but a loss of detail.
At the same quality score, AVIF often saves 20%–50% in file size compared to WebP.
At the same image quality, WebP is typically 25%–35% smaller than JPEG.
16 more timeline events
All Facts (20)
WebP由Google于2010年推出,有损压缩比JPEG小约25-34%,无损压缩比PNG小约26%
90%UnverifiedAVIF基于AV1视频编码,压缩效率比WebP再提升约20%,但编解码计算开销更大,目前仍处于普及过渡期
85%UnverifiedSafari 14于2020年正式支持WebP格式,使WebP实现全平台覆盖
85%UnverifiedAPNG在iOS生态中的兼容性比WebP更好,无需额外解码库
75%UnverifiedLossless compression merely re-encodes the data and can be fully restored after decompression, making it suitable for text and vector graphics; lossy compression discards some information, usually reducing resolution or increasing the compression rate for images, with a marked reduction in size but a loss of detail.
60%UnverifiedWebP is an image format released by Google in 2010.
60%UnverifiedWebP supports transparency (Alpha channel), a feature that JPEG does not have.
60%UnverifiedImages should be converted to modern formats such as WebP/AVIF and sized as needed, and fonts can be subsetted or use font-display to control loading behavior, in order to improve front-end performance.
50%UnverifiedGIF files are usually larger than video and do not support audio tracks, which is one of the reasons alternative formats such as WebP and APNG have emerged.
50%UnverifiedGIF uses a 256-color palette limitation, so its color expressiveness is weaker than PNG or WebP, but its compatibility is extremely broad, and almost all browsers, chat apps and social platforms can render it directly.
50%UnverifiedThe WebP format supports an alpha channel, whereas the JPEG format does not support an alpha channel at all.
50%UnverifiedWebP and AVIF formats are generally smaller than JPEG/PNG at the same quality, but browser compatibility must be considered, and a fallback can be provided via the `<picture>` element with `srcset`.
50%UnverifiedFor sites serving open-internet users with frequently updated images, AVIF with a WebP fallback is currently the safest option.
50%UnverifiedAVIF is based on AV1 intra-frame compression, and at equal subjective quality its file size can often be compressed to about sixty percent of WebP.
50%UnverifiedAt the same image quality, WebP is typically 25%–35% smaller than JPEG.
50%UnverifiedWebP supports alpha transparency and animation, and can replace PNGs with transparency and animated GIFs.
50%UnverifiedWith Safari adding support, WebP has achieved near-universal coverage across mainstream browsers.
50%UnverifiedAt the same quality score, AVIF often saves 20%–50% in file size compared to WebP.
50%UnverifiedThe encoding computation for AVIF far exceeds that of WebP, and generating a single AVIF image can sometimes require several times the CPU time of WebP.
50%UnverifiedFor new projects, WebP can be used as the default directly; for pages requiring extreme performance, the picture tag can be used with AVIF as the first choice, WebP as the fallback, and JPEG as the final fallback.
50%