Skip to content

cramforce/avif-webp-quality-setting

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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