Distortion metrics can be found here.
Large images were first encoded with Mozjpeg at q85 filesizes. Big is 125% of Large. Medium is 60% of Large. Small is 60% of Medium. Tiny is 60% of Small. Everything else was matched to +/- 5% filesize.
All the pictures have been compressed from RGB PNGs.
This study compares 6 differents encoders:
The Python scripts used to generate the compressed images are available on the GIT repository. The configuration file containing the codec settings is recipes.json (quality_start
and quality_end
are inclusive).
We use these algorithms in order to compare each format:
ssimulacra [original-png] [decompressed-png]
ssimulacra2 [original-png] [decompressed-png]
dssim [original-png] [decompressed-png]
butteraugli [original-png] [decompressed-png] --pnorm 3
(taking 3-norm
output)vmaf --json --model version=vmaf_v0.6.1 --feature float_ssim -r [original-y4m] -d [decompressed-y4m] -o [json-output]
pooled_metrics.float_ssim.mean
vmaf --json --model version=vmaf_v0.6.1 --feature float_ms_ssim -r [original-y4m] -d [decompressed-y4m] -o [json-output]
pooled_metrics.float_ms_ssim.mean
vmaf --json --model version=vmaf_v0.6.1 --feature psnr_hvs -r [original-y4m] -d [decompressed-y4m] -o [json-output]
pooled_metrics.psnr_hvs.mean
vmaf --json --model version=vmaf_v0.6.1 --feature psnr -r [original-y4m] -d [decompressed-y4m] -o [json-output]
pooled_metrics.psnr_y.mean * 0.8 + pooled_metrics.psnr_cb.mean * 0.1 + pooled_metrics.psnr_cr.mean * 0.1
vmaf --json --model version=vmaf_v0.6.1 --feature ciede -r [original-y4m] -d [decompressed-y4m] -o [json-output]
pooled_metrics.ciede2000.mean
vmaf --json --model version=vmaf_v0.6.1 -r [original-y4m] -d [decompressed-y4m] -o [json-output]
pooled_metrics.vmaf.mean
[original-png]
and [decompressed-png]
were converted to [original-y4m]
and [decompressed-y4m]
with ffmpeg -y -i [png] -pix_fmt yuv444p -vf scale=in_range=full:out_range=full [y4m]
(using ffmpeg (5.0.1-3+build1)).Updated: 2022-10-04
This page is based on eclipseo.github.io comparison page. Originally developed by xooyoozoo. A list of sources for the images can be found in this text file. The source images were stripped of any metadata, EXIF, XMP, color profile etc. including the gAMA PNG chunk.