WebP: The Modern Web Format
Google introduced WebP in 2010 from VP8 video technology. It typically beats JPEG by 25–35% and PNG by 30%+, while supporting transparency and animation — making it the web's sweet spot.
PNG1996
无损透明
无损 + 透明,截图与图标首选;1996 年为替代 GIF 专利而生。
JPEG1992
有损
1992 年 DCT 有损压缩,照片的事实标准,无透明。
WebP2010
有损透明动画
Google 2010 年推出,比 JPG 小约 30%,支持透明与动画。
AVIF2019
有损透明
2019 年基于 AV1 视频编码,压缩率最高,兼容性仍在普及。
GIF1987
无损透明动画
1987 年 CompuServe 推出,256 色 + LZW,动图鼻祖。
SVG2001
无损透明动画
2001 年 W3C 矢量标准,无限缩放,图标与插画首选。
VP8 and VP8L
WebP lossy uses VP8 intra-frame compression; lossless uses VP8L with spatial prediction and entropy coding. Both outperform older formats at similar quality.
When to use WebP
Use WebP for nearly all web images: heroes, thumbnails, stickers and screenshots. Convert to JPG only for legacy software, or to AVIF for maximum compression.