← All Articles

HEIF Codec Technology: HEVC and AV1 Compression

March 2026 · 7 min read

The reason HEIF achieves nearly double the compression efficiency of JPEG lies in its use of video coding technology to compress still images. This article explores the two major coding technologies behind HEIF: HEVC (H.265) and AV1.

Why Use Video Codecs for Images?

Video coding technology is more advanced than traditional image coding because video compression must handle massive amounts of sequential frames, driving researchers to develop more efficient algorithms. HEIF's ingenuity lies in applying intra-frame compression techniques — originally designed for video — to compress single still images.

HEVC (H.265) Compression

HEVC (High Efficiency Video Coding), also known as H.265, is a video coding standard jointly developed by ITU-T and ISO/IEC. It is the successor to H.264/AVC.

Key Technical Improvements

TechnologyH.264/AVCHEVC/H.265
Maximum block size16x1664x64
Intra prediction directions935
Transform sizes4x4, 8x84x4, 8x8, 16x16, 32x32
Efficiency vs H.264Baseline~50% improvement

Key Takeaway: HEVC improves compression efficiency by approximately 50% compared to H.264. This is why HEIC (encoded with HEVC) produces files roughly half the size of JPEG.

AV1: The Royalty-Free Alternative

While HEVC offers excellent compression, it has a significant issue: patent licensing fees. HEVC involves multiple patent pools with complex and expensive licensing requirements.

The Alliance for Open Media (AOMedia) developed AV1 as a completely royalty-free video coding standard. AOMedia members include Google, Mozilla, Netflix, Amazon, Apple, Microsoft, and other technology leaders.

AV1 Technical Features

AVIF: HEIF with AV1 Encoding

When a HEIF container uses AV1 as its codec, the resulting file is AVIF (AV1 Image File Format). AVIF is viewed as the royalty-free alternative to HEIC and an advanced replacement for WebP.

FormatContainerCodecLicense
HEICHEIFHEVC (H.265)Paid license required
AVIFHEIFAV1Royalty-free
JPEGJFIF/EXIFDCTRoyalty-free
WebPRIFFVP8/VP8LRoyalty-free

Looking Ahead

The future of image formats is converging with video coding technology. As AVIF browser support grows and JPEG XL (another emerging format) develops, the competition among image formats will continue to evolve. Regardless of how formats change, understanding the underlying compression principles will help you make better format choices.

Convert HEIC to JPG Now →

Conclusion

HEIF's high compression efficiency comes from the powerful video coding technology behind it. Whether HEVC or AV1, these codecs represent decades of image compression research. Understanding these technical principles enables you to better appreciate the strengths and trade-offs of different image formats.

References

  1. ITU-T. "H.265: High efficiency video coding." International Telecommunication Union, 2021. https://www.itu.int/rec/T-REC-H.265
  2. Alliance for Open Media. "AV1 Bitstream & Decoding Process Specification." AOMedia, 2024. https://aomedia.org/av1-features/get-started/
  3. Sullivan, G. J., Ohm, J.-R., Han, W.-J., & Wiegand, T. "Overview of the High Efficiency Video Coding (HEVC) Standard." IEEE Transactions on Circuits and Systems for Video Technology, vol. 22, no. 12, 2012. https://ieeexplore.ieee.org/document/6316136
  4. Chen, Y., et al. "An Overview of Core Coding Tools in the AV1 Video Codec." IEEE PCS, 2018. https://ieeexplore.ieee.org/document/8456249