Replace PNG for image saving and loading in a game engine where read/write speed matters more than absolute file size.
Drop the single .h file into any C or C++ project to add fast lossless image export without extra dependencies or build steps.
Use a QOI plugin for GIMP, Paint.NET, or Godot to edit and save .qoi images directly in your existing creative or game workflow.
Benchmark your image pipeline by swapping PNG for QOI to see how much throughput you gain when processing large numbers of images.
| phoboslab/qoi | jart/blink | merbanan/rtl_433 | |
|---|---|---|---|
| Stars | 7,480 | 7,497 | 7,448 |
| Language | C | C | C |
| Setup difficulty | easy | moderate | moderate |
| Complexity | 2/5 | 4/5 | 3/5 |
| Audience | developer | developer | ops devops |
Figures from each repo's GitHub metadata at analysis time.
QOI, short for "Quite OK Image Format," is a lossless image format designed to be fast at both encoding and decoding. The entire implementation is a single C/C++ header file under the MIT license, so adding it to a project means dropping in one file with no extra build steps. The format sits in a practical middle ground between raw speed and compression size. Its compression output is roughly comparable to PNG, though typically not as tight as the most optimized PNG libraries. Where QOI stands out is throughput: encoding and decoding are substantially faster than PNG, which matters when reading or writing many images quickly. Because the format specification itself is extremely simple, it has been ported to dozens of programming languages, including Python, Rust, Go, Java, Zig, Swift, Elixir, OCaml, and many others. The format is finalized and intentionally has no version number in file headers. A working QOI implementation today will be compatible with all QOI files in the future. The project does not plan to extend the format or accept pull requests that change it. This reference implementation loads an entire image into memory before processing, and is capped at 400 million pixels. It is not a streaming decoder. For images beyond that size, the README points to third-party implementations. The recommended file extension is .qoi and the recommended MIME type is image/qoi. The ecosystem around QOI has grown considerably. There are plugins for Windows Explorer, macOS Finder, GNOME, GIMP, Paint.NET, Godot, Unity, and Unreal Engine 5. Tools exist for viewing QOI images in terminals, desktop applications, and web browsers, and Microsoft PowerToys added QOI preview and thumbnail support for Windows Explorer. Format-level benchmarks comparing QOI, PNG, and other options are published at qoiformat.org.
QOI is a fast, lossless image format implemented as a single C/C++ header file, compression similar to PNG but substantially faster to encode and decode, with no extra build steps to add it.
Mainly C. The stack also includes C, C++.
MIT license, use freely for any purpose including commercial projects, just keep the copyright notice.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.