Convert images to AVIF and check transparency
Admin ·
Encode photos and transparent artwork as still AVIF files. The browser reads the file and creates its download on your device.
Compare two quality settings
Convert a 65 × 41 image at the default quality of 90. Repeat at 50 using the original input. Both exports should measure 65 × 41 pixels. Compare fine letters, high-contrast edges and the actual file sizes. The quality setting controls compression and does not specify a target byte count.
Check translucent artwork
Place a PNG with a transparent corner and a partly transparent colored edge over two backgrounds after conversion. The corner should reveal each background. AVIF may change nearby color values even when the alpha is preserved.
Choose a source for a small web photograph
If you still have the original photograph, use it for the quality comparison. A JPEG downloaded from a messaging app may already contain halos around lettering. Lowering AVIF quality can add to those losses.
For a multipage TIFF, pick one representative exported page to evaluate. Estimate a batch using several actual exports with different amounts of detail. A plain white scan and a photograph of foliage compress differently.
Common questions
Does the AVIF retain a transparent background?
Yes. The output includes decoded alpha. An opaque JPEG or bitmap stays opaque.
Does a TIFF become an AVIF animation?
Each top-level TIFF page becomes a separate still AVIF. Each HEIC file supplies its primary still photo.
Sources
Put it into practice.
Related guides
- How to Convert PNG to WebP and Keep Transparency
- TIFF to WebP guide
- HEIC to PNG guide for phone photos
- AVIF to JPEG background and quality guide
- AVIF to transparent PNG guide
- Still GIF palette and transparency guide
- JPEG 2000 JP2 conversion guide
- Photoshop PSD raster conversion guide
- Compare AVIF Effort With JPEG and WebP
- Build Three Image Formats Into One Picture
- Export Every GIF Frame with Its Timing
- Compare Image File Sizes and Transparency
- Check a WebP or AVIF Batch Against a Byte Target