ArticleslgStudy

computer science

AVIF

AVIF is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand AVIF rather than just read about it. In short: AV1 Image File Format (AVIF extension/container) is an open, royalty-free file format specification for storing images or image sequences compressed with AV1. An AVIF file is designed to be a conformant HEIF file for both image items and image sequences.

AVIF — main illustration
AVIF — illustration

Key takeaways

  • AVIF belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect AVIF to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of AVIF from memory before moving on to harder problems.

Reference excerpt

AV1 Image File Format (AVIF extension/container) is an open, royalty-free file format specification for storing images or image sequences compressed with AV1. An AVIF file is designed to be a conformant HEIF file for both image items and image sequences. Specifically, this specification follows the recommendations given in "Annex I: Guidelines On Defining New Image Formats and Brands" of HEIF. This specification reuses syntax and semantics used in the specification for the AV1 Codec ISO Media File Format Binding. In tests by Netflix in 2020, AVIF showed better compression efficiency than JPEG, as well as better detail preservation, fewer blocking artifacts and less color bleeding around hard edges in composites of natural images, text, and graphics. AVIF has been supported by all major web browsers since 2024, with at that moment over 93% of users worldwide on compatible browsers.

Features The AV1 Image File Format supports:

Multiple color spaces, including: HDR (with PQ or HLG transfer functions and BT.2020 color primaries, as part of BT.2100) Supports HDR gain map approach, backwards compatible with SDR displays, but no encoder is currently available. SDR (with sRGB / BT.709 / BT.601 or with wide color gamut) Color space signaling via CICP (ITU-T H.273 and ISO/IEC 23091-2) or ICC profiles Both lossless and lossy compression 8-, 10-, and 12-bit color depths Monochrome (alpha/depth) or multi-components 4:2:0, 4:2:2, 4:4:4 chroma subsampling and RGB Film grain synthesis Image sequences and animation Alpha transparency

Profiles AVIF specification defines two image profiles:

AVIF Baseline Profile Uses AV1 Main Profile AV1 level is 5.1 or lower Level 5.1 is chosen for the Baseline profile to ensure that no single coded image exceeds 8K resolution, as some decoders may not be able to handle larger images. More precisely, coded image items compliant to the AVIF Baseline profile may not have a total number of pixels greater than 8,912,896, a width greater than 8,192, or a height greater than 4,352. It is still possible to use the Baseline profile to create larger images using grid derivation. AVIF Advanced Profile Uses AV1 High Profile AV1 level is 6.0 or lower Coded image items compliant to the AVIF Advanced profile may not have a total number of pixels greater than 35,651,584, a width greater than 16,384, or a height greater than 8,704. It is still possible to use the Advanced profile to create larger images using grid derivation.

Support On 14 December 2018, Netflix published the first .avif sample images. In November 2020, HDR sample images with PQ transfer function and BT.2020 color primaries were published.

Web browsers In August 2020, Google Chrome version 85 was released with full AVIF support. Google Chrome 89 for Android adds AVIF support. In October 2021, Mozilla Firefox 93 was released with default AVIF support. WebKit added AVIF support on 5 March 2021. Safari for iOS 16 and macOS Ventura added support for AVIF; iOS 16 was released on 12 September 2022 and macOS Ventura on 24 October 2022. Safari 16.4 retroactively added AVIF support for macOS Monterey and macOS Big Sur. Microsoft Edge added AVIF support in version 121 released in January 2024.

Image viewers FastStone Image Viewer (Version 7.8 onwards) XnView gThumb Eye of GNOME Loupe (GNOME) ImageMagick IrfanView (read only) Gwenview digiKam 7.7.0 Preview and Photos apps on iOS 16, iPadOS 16 and macOS 13. ImageGlass (read+write)

Media players mpv supports AVIF format both as viewer and as encoder, since it is able to export screenshots in such format. VLC will read AVIF files starting with version 4, which is still in development.

Image editors Paint.NET added support for opening AVIF files in September 2019, and the ability to save AVIF format images in an August 2020 update. GraphicConverter has AVIF support from version 12 and MacOS 10.13 onwards. The Colorist format conversion and Darktable RAW image data have each released support for and provide reference implementations of libavif. GIMP added native AVIF import and export in October 2020. IrfanView 4.57, released on 13 January 2021, added read-only AVIF support via its plugins. Krita 5.0, released on 23 December 2021, added AVIF support. The support also includes Rec.2100 HDR AVIF images. Adobe Illustrator (May 2022 release) added AVIF support. Adobe Photoshop (June 2025 release) added AVIF support (open, edit, save). Pixelmator Pro 3.1, released on 2 November 2022, added initial AVIF support. Adobe Lightroom 7.0 (October 2023 release) and Lightroom Classic 13 (October 2023 release) added HDR capabilities, including opening and saving photos in AVIF format. PhotoLine 24, released 30 June 2023, added AVIF support. ACDSee Photo Studio 2025, released September 2024 Zoner Studio – photo and video editing software ezgif.com – allows creating, editing and converting animated AVIF files PhotoMill added AVIF support in September 2026 (open, edit, save).

Image libraries libavif – portable library for encoding and decoding AVIF files. libheif – ISO/IEC 23008-12:2017 HEIF and AVIF decoder and encoder. SAIL – format-agnostic library with support of AVIF implemented on top of libavif. FFmpeg AVIF and HEIC unit – Delphi/Lazarus wrapper for libavif JDeli – Java Image library for encoding and decoding AVIF

Operating systems Windows – Microsoft announced support with the Windows 10, version 1903 preview release, including support in File Explorer, Paint, and multiple APIs, together with sample images. Since Windows 11, version 22H2, the AVIF Image Extension is built-in by default installation. Android – Android 12, released on 4 October 2021, added native support for AVIF. Linux – AVIF is widely supported in Linux distributions. With the release of libavif 0.8.0 in July 2020, which added a GdkPixbuf plugin, AVIF support is present in most GNOME/GTK applications. The KDE Frameworks added support for AVIF to the "KImageFormats" library in January 2021, enabling most KDE/Qt applications to support viewing and saving AVIF images. Nomacs 3.16 adds support for AVIF viewing and conversion. Nomacs appimage is also for older Linux. Apple platforms – iOS 16, iPadOS 16 and macOS Ventura natively support AVIF. AVIF images can be directly viewed in the Finder, with QuickLook, in the iOS Files app, etc.

… excerpt ends here. Continue reading the full article.

Illustrations

AVIF illustration
AVIF illustration

Worked examples

Example 1 — a first encounter with AVIF

Start with the simplest possible case. Write down what AVIF claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to AVIF before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about AVIF ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of AVIF

In research
AVIF appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses AVIF in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
AVIF is common in secondary-school and first-year university syllabi. It links to neighbouring topics Animated graphics file formats, Computer-related introductions in 2019, High dynamic range file formats, so understanding it makes those chapters shorter.
In everyday life
Look for AVIF outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “AVIF” →

How to study AVIF in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what AVIF means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain AVIF out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is AVIF in simple terms?

AV1 Image File Format (AVIF extension/container) is an open, royalty-free file format specification for storing images or image sequences compressed with AV1. An AVIF file is designed to be a conformant HEIF file for both image items and image sequences.

Why does AVIF matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study AVIF?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on AVIF.

Tags

  • Animated graphics file formats
  • Computer-related introductions in 2019
  • High dynamic range file formats
  • Raster graphics file formats

Keep exploring