如果 JPEG 是在 2019 年发明的,那么 AVIF 就应该是 JPEG 的样子。相同的图像内容,一半的字节数,内置 HDR 和广色域——所有这些都可以在你已经打开的浏览器标签页中完成。
或者将图片拖放到这里。
支持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
导入相机拍摄的 JPEG 图片、图库照片或网络图片。该转换器支持基线、渐进和 CMYK JPEG 格式。
解码后的像素通过 AV1 编码器,采用帧内编码配置(AV1 是一种视频编解码器;AVIF 使用单个静态帧)。默认质量为 50,视觉效果与 WebP 80 相当。
文件大小通常比同等质量的源 JPEG 文件小 30% 到 50%。文件扩展名更改为 .avif;文件名保持不变。
AVIF provides up to 50% better compression than JPEG
Next-generation web performance optimization
AV1-based compression with HDR and wide color gamut support
cutting-edge compression technology with advanced AVIF encoding
Perfect for modern web, high efficiency, cutting-edge browsers
Handles lossy compression, small file size, universal support from JPEG files
三代编解码器压缩研究
Joint Photographic Experts Group JFIF format
Note, JPEG is a lossy compression. In addition, you cannot create black and white images with JPEG 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).
Microsoft Audio/Visual Interleaved
浏览器支持、编码时间、HDR 以及 AVIF 何时值得使用。