FormatSwap › Formats › QOI

The QOI format

A one-page image format that embarrasses decades of complexity. It's not for everyone, but it matters.

Full name
Quite OK Image Format
Appeared
2021
File extensions
.qoi
Our verdict
Keep it See why

History

Why it was invented

QOI began as a programmer's experiment. Dominic Szablewski “was just tinkering with some ideas”, and concluded that alternatives to PNG all competed on compression ratio with “ever increasing complexity”.[1] The post argues that there's a market for codecs that trade compression for speed and simplicity, “but no one is serving it”.[1]

What it was first used for

The format was announced in a blog post on 24 November 2021, as about 300 lines of C.[1] The sources we read don't describe a first production use.

What happened next

Its site claims files of similar size to PNG, with 20 to 50 times faster encoding and 3 to 4 times faster decoding.[2]

Pros and cons

Pros

  • Fast to encode and decode.
  • One-page specification, with small decoders.
  • Lossless with transparency, with no patents.

Cons

  • No browser or OS-level support.
  • Compression is usually behind well-optimised PNG.
  • Little metadata, and no colour profiles beyond a simple flag.

Use cases

  • Game assets and developer tools.
  • Fast screen capture.
  • Embedded systems with little memory.

Pitfalls

  • Most people you send one to won't be able to open it.
  • Results vary with content, and photos often compress poorly.
  • The format is frozen by design, so don't expect it to gain new features.

Should QOI be discontinued?

Keep it

Keep it. QOI matters most for the point it proves: a useful lossless image format can be fully specified on a page. That should embarrass every committee that has produced a 500-page standard.

It won't replace PNG for general use and shouldn't try to. It's for the developer who wants fast, simple and dependency-free, and for that job it's almost perfect.

This verdict is FormatSwap's opinion. “Discontinue” means stop creating new files, not stop reading old ones. How we decide.

QOI files in FormatSwap

Media Converter opens and creates QOI files.

Download Media Converter
Version 1.1 · Windows 10 & 11 (64-bit) · 64 MB · No installation needed

Related formats

Sources

Numbers in the history above link to these pages. They cover the history section only; the pros, cons and verdict are our own assessment.

  1. Lossless Image Compression in O(n) Time, Dominic Szablewski, PhobosLab
  2. QOI: The Quite OK Image Format, Dominic Szablewski