Image Coding Comparisons
This website provides a comprehensive set of test results on how the AVIF image format compares against the WebP, JPEG, and JPEG XL image formats.
The intention here is to provide all details on how results were produced, to allow anyone to verify the results. The AVIF team encourages developers to provide feedback and suggestions on how to improve the benchmarks and report bugs!
For anyone who’s interested in reproducing the results, the following information is provided:
- Command lines for image encoding and objective metrics calculations are provided under the Verification Process section below
- Links to source images
- CPU configuration for encode speed measurements
You can submit your feedback to email@example.com.
Updated 2022-12-14 (history)
The timing was performed using the ImageDecoder API on Windows Chrome Version 110.0.5464.2 (Official Build) dev (64-bit) and Mac Chrome Version 110.0.5464.2 (Official Build) dev (arm64). The Windows machine was an Acer Predator Helios 300 with an Intel i7-9750H, 16GB DDR4. The Mac machine was a MacBook Pro (16-inch, 2021) with an Apple M1 Pro and 16 GB memory.
You can see more devices and detailed information on the decode timing page.
The chart is from the subset1 test set. This chart shows three commonly used encode settings for WebP, AVIF, and JPEG XL.
The chart averages the MS-SSIM BD-Rate from the subset1 and Kodak test sets in the range of 0.1 to 3 bits per pixel.
You can see 13 different measured metrics and much more detail in the test sets links below.
The images used in the lossless charts above were from the Kodak test set. The command lines are available in the Verification Process section.
JPEG XL has better lossless compression compared to WebP, which has better lossless compression compared to AVIF for these images. Here is another lossless comparison, which compares more files and image codecs. The sheet was found on encode.su in a post from 2020.
Image Test Sets