谷歌会优先展示速度更快的网站。WebP 格式在保持相同画质的前提下,可以将 JPG 图片压缩三分之一。网页上每 1 MB 的 JPG 图片,WebP 就能节省大约 300 KB 的 LCP 空间。
或者将图片拖放到这里。
支持JPG, JPEG, PNG, WEBP, SVG, GIF, HEIC, HEIF, BMP, TIFF, HDR, JP2, RAF, PSD, CR3, DNG, APNG, AVIF, AVI, ESP, EXR, J2C, J2K, JXL, PFM, PNM, PPM, PSB, SGI, MPEG, PDF
可以选择单个 JPG 文件或整个文件夹中的网站素材。渐进式 JPG 和 CMYK JPG 均可。
WebP 的 VP8 有损编解码器在解码后的像素上运行。默认质量为 80——这是谷歌推荐的网页图像最佳质量值。
输出文件通常比输入的 JPG 文件小 25% 至 35%,且质量几乎没有变化。文件名保留 .webp 扩展名。
WebP offers 25-35% better compression than JPEG while maintaining quality
Faster page loading and reduced bandwidth usage
Advanced VP8/VP9 compression with transparency support
superior compression efficiency with advanced WEBP encoding
Perfect for web optimization, faster loading, modern browsers
Handles lossy compression, small file size, universal support from JPG files
1992 年仅基于 DCT 的压缩技术与 2010 年基于块预测的压缩技术相结合
Joint Photographic Experts Group JFIF format
Note, JPG is a lossy compression. In addition, you cannot create black and white images with JPG nor can you save transparency. Requires jpegsrc.v8c.tar.gz. You can set quality scaling for luminance and chrominance separately (e.g. -quality 90,70). You can optionally define the DCT method, for example to specify the float method, use -define jpeg:dct-method=float. By default we compute optimal Huffman coding tables. Specify -define jpeg:optimize-coding=false to use the default Huffman tables. Two other options include -define jpeg:block-smoothing and -define jpeg:fancy-upsampling. Set the sampling factor with -define jpeg:sampling-factor. You can size the image with jpeg:size, for example -define jpeg:size=128x128. To restrict the maximum file size, use jpeg:extent, for example -define jpeg:extent=400KB. To define one or more custom quantization tables, use -define jpeg:q-table=filename. These values are multiplied by -quality argument divided by 100.0. To avoid reading a particular associated image profile, use -define profile:skip=name (e.g. profile:skip=ICC).
Weppy image format
Requires the WEBP delegate library. Specify the encoding options with the -defineoption See WebP Encoding Options for more details.
性能、浏览器支持、SEO影响和极端情况。