As digital publishing demands ever-faster page loading and richer color displays, developers have pushed beyond the limits of both JPEG and WebP. The result of this industry-wide collaboration is AVIF (AV1 Image File Format)—an open, royalty-free image specification that delivers the most aggressive compression ratios currently available in consumer technology.

What makes an AVIF file unique, how does it surpass both JPEG and WebP, and why is the tech industry rapidly adopting it?

Who Created AVIF and Why?

AVIF was developed by the Alliance for Open Media (AOMedia), a non-profit consortium founded in 2015 by Google, Mozilla, Microsoft, Apple, Amazon, Netflix, and Intel.

Prior to AOMedia, the most advanced image compression technology (HEIF/HEIC) was encumbered by complicated, fragmented patent pools and licensing royalties associated with MPEG’s HEVC (H.265) patent holders. This licensing friction prevented web browsers from broadly adopting HEIC on the public internet.

AOMedia’s objective was to create a modern, high-performance, and completely royalty-free open standard. They first built the AV1 video codec, and then developed AVIF to encapsulate AV1-compressed still image frames inside an ISO Base Media File Format (ISOBMFF) container—the same structural container architecture utilized by HEIF.

How AVIF Works Under the Hood

AVIF treats a still picture as a single keyframe (an “intra-frame”) of an AV1 video sequence. This architecture yields multiple technical advantages:

1. Extreme Block Partitioning

AVIF uses coding block trees that scale from 128x128 pixels down to 4x4 pixels. This dynamic scaling allows the codec to allocate massive blocks to clean, uniform areas while isolating intricate details with precision, eliminating the blocky artifacts typical of JPEG compression.

2. High Dynamic Range (HDR) & 12-Bit Color

Standard web formats like JPEG are strictly limited to Standard Dynamic Range (SDR) and 8-bit color channels (256 gradations per RGB channel). AVIF natively supports:

  • 10-bit and 12-bit color depth: Enabling over 68 billion distinct color gradations.
  • Wide Color Gamuts (WCG): Full support for BT.2020 and DCI-P3 color spaces.
  • HDR Transfer Functions: True PQ (SMPTE ST 2084) and HLG (Hybrid Log-Gamma) encoding for luminous, realistic photography on OLED and HDR screens.

3. Directional Filtering (CDEF and Restoration Filters)

AVIF features constrained directional enhancement filtering (CDEF) and Wiener loop restoration. These filters smooth out compression noise along sharp edges and text borders without blurring fine textures.

Performance Benchmark: AVIF vs. WEBP vs. JPEG

Independent compression benchmarks consistently show that AVIF achieves significant file size savings over prior generations:

Metric AVIF WEBP JPEG
Patent / Royalty Status 100% Royalty-Free (AOMedia) Royalty-Free (Google) Expired Patents / Open
Max Color Bit Depth 12-bit 8-bit 8-bit
HDR Support Native No No
Alpha Transparency Full (Lossy & Lossless) Full (Lossy & Lossless) None
Compression vs. JPEG ~50% smaller ~30% smaller Baseline
Encoding Speed Slower (computationally intensive) Fast Very fast

Browser Support and Practical Usage

Today, AVIF enjoys broad native support across the entire web ecosystem:

  • Web Browsers: Google Chrome (version 85+), Mozilla Firefox (version 93+), Apple Safari (iOS 16+ and macOS 13 Ventura+), and Microsoft Edge all decode AVIF natively.
  • Desktop Operating Systems: Windows 10/11 (with the AV1 Video Extension from Microsoft Store), macOS 13+, and modern Linux desktop environments render AVIF thumbnails and photos out of the box.
  • Creative Software: GIMP, Adobe Photoshop, and ImageMagick support AVIF import and export.

Current Limitations: Why Isn’t Everything AVIF Yet?

While AVIF offers unprecedented compression efficiency, it has one primary trade-off: computational complexity.

Encoding an image into AVIF requires significantly more CPU cycles and memory than encoding into JPEG or WebP. While decoding on modern devices is swift (especially on modern smartphone chips equipped with dedicated AV1 hardware decoders), content creators generating millions of dynamic thumbnails on the fly must carefully balance server processing loads against bandwidth savings.