Compare AVIF encoder effort with JPEG and WebP
Admin ·
Choose an AVIF encoder effort by testing the same artwork at the same quality. This workflow exports each actual image, so the listed byte counts can be checked after downloading.
Compare three saves of the 128 × 96 sample
Click Load example and run Compare AVIF encodes with quality 75 and effort 6. The 128 × 96 texture is encoded independently as AVIF, JPEG and WebP. Open Show saved previews for the three files.
Check the translucent strip over the checkerboard in the AVIF and WebP previews. The JPEG version uses a white background.
Open AVIF Compressor and select Load example for the reusable textureAlliance for Open Media AV1 Image File FormatGoogle WebP container specification
Change encoder effort at the same quality
Save the AVIF at effort 6, change effort to 1 and run the comparison again with quality 75. Compare the file byte counts and check the pattern at the same displayed size.
Effort maps to the AV1 encoder speed as 10 minus the entered value. Higher effort allows more encoding work. File size may vary with picture content and no setting guarantees the smallest file.
ImageMagick HEIC and AVIF speed handlingAlliance for Open Media AV1 Image File Format
Download the images and check the report
The ZIP contains AVIF, JPEG and WebP files for each successful input and a JSON record of their sizes, dimensions, requested quality and AVIF encoder speed.
All three encoders receive the same numeric quality. Compare visible detail and transparency as well as byte counts because the scales represent different encoding choices.
Alliance for Open Media AV1 Image File FormatGoogle WebP container specificationWHATWG HTML bitmap serialization
Compare a JPEG original with three new encodes
Open JPEG to AVIF and select Load example. Convert the 128 × 96 JPEG at quality 75 and effort 6. Check the original byte count and the three newly encoded AVIF, JPEG and WebP files.
Open Show saved previews and compare the original with the encoded samples. A JPEG or WebP comparison uses the same number as the reported AVIF quality. The encoders have different quality scales. Save an AVIF or an archive of the successful AVIF files and their report.
JPEG to AVIF workspace presetAlliance for Open Media AV1 Image File FormatWHATWG HTML bitmap serialization
Inspect alpha in a PNG and its AVIF copy
Open PNG to AVIF and select Load example. Convert the 128 × 96 PNG at quality 80 and effort 6, then show the original and AVIF previews. Look at the translucent strip on the left over the checkerboard.
Enter a 1 KB target to try a smaller copy. Compare the saved byte count with 1,000 bytes, and read the target status before using that copy. The tool keeps the 128 × 96 dimensions. Download original PNG saves the input bytes.
PNG to AVIF workspace presetAlliance for Open Media AV1 Image File Format
Check a re-encoded WebP before replacing an asset
Open WebP to AVIF and select Load example. Convert the 128 × 96 WebP at quality 80 and effort 6. Compare the size and the translucent strip with the original WebP.
Record any increase as well as any reduction. A small WebP may already cost fewer bytes than its AVIF copy. Save the report and individual AVIF or ZIP, and keep the source file when you need its original metadata or encoded pixels.
WebP to AVIF workspace presetGoogle WebP container specificationAlliance for Open Media AV1 Image File Format
Common questions
Can I use effort 10 on a large photograph?
Effort 7 through 10 is limited to one megapixel. Choose effort 1 through 6 for images up to four megapixels. The limit of 3,500 pixels per side applies at every effort setting.
Which source files can I use for the comparison?
Open a JPEG, PNG, WebP, GIF, BMP or TIFF to compare the three encodes. AVIF is an output format in this workspace.
Does the ZIP contain animated files?
Outputs are still images. GIF and TIFF use the first displayed frame or first page. Choose GIF to AVIF Compressor to export a GIF timeline.
Does PNG to AVIF support APNG?
The PNG preset accepts still PNG. Export a still frame before converting APNG. The WebP preset likewise accepts still WebP.
Sources
- Open AVIF Compressor and select Load example for the reusable texture
- Alliance for Open Media AV1 Image File Format
- ImageMagick HEIC and AVIF speed handling
- Google WebP container specification
- WHATWG HTML bitmap serialization
- JPEG to AVIF workspace preset
- PNG to AVIF workspace preset
- WebP to AVIF workspace preset