mirror of https://github.com/phoboslab/qoi.git
Clarify compression/throughput claims; close #309
This commit is contained in:
parent
019020993c
commit
b0b926ee70
10
README.md
10
README.md
|
@ -12,9 +12,13 @@ More info at https://qoiformat.org
|
||||||
|
|
||||||
## Why?
|
## Why?
|
||||||
|
|
||||||
Compared to stb_image and stb_image_write QOI offers 20x-50x faster encoding,
|
QOI offers sweet-spot of compression ratio and throughput for lossless
|
||||||
3x-4x faster decoding and 20% better compression. It's also stupidly simple and
|
image encoding. QOI's compression is roughly comparable to PNG (usually worse than
|
||||||
fits in about 300 lines of C.
|
[libPNG](https://github.com/pnggroup/libpng), but better than [stb_image_write.h](https://github.com/nothings/stb/blob/master/stb_image_write.h)), while throughput is a lot higher.
|
||||||
|
|
||||||
|
Benchmark results on a few thousand images can be found here: https://qoiformat.org/benchmark/
|
||||||
|
|
||||||
|
The QOI format is also extremely simple, which helps a lot when porting to other languages.
|
||||||
|
|
||||||
|
|
||||||
## Example Usage
|
## Example Usage
|
||||||
|
|
Loading…
Reference in New Issue