Skip to content

cramforce/avif-webp-quality-setting

Repository files navigation

AVIF WebP quality settings

For context see my blog post on AVIF and WebP encoding quality settings.

Running the scripts requires having dssim installed on your machine.

To generate data with your own samples run node scripts/image-quality-generate.js. Edit scripts/image-quality-generate.js to change the image files the script is operating on. When finished run node scripts/image-quality-compare.js to generate the ideal quality settings for your image set.

For a pivot table of the generated data see this spreadsheet.

Created by Malte Ubl