qoi/README.md
2022-01-03 14:25:40 +03:00

1.5 KiB

qoi-fast

VERY fast encoder/decoder for QOI image format, implemented in pure Rust.

Build Latest Version Documentation Apache 2.0 MIT

Quick summary:

  • One of the fastest QOI encoders/decoders out there.
  • Compliant with the latest QOI format specification.
  • Zero unsafe code.
  • Supports decoding from / encoding to std::io streams directly.
  • Roundtrip-tested vs the reference C implementation; fuzz-tested.

Examples

todo!();

Benchmarks

Comparison to the reference C implementation (as of 00e34217), benchmarks timings collected on Apple M1 (1782 images, 1187 MB total):

codec          decode:ms    encode:ms  decode:mp/s  encode:mp/s

qoi-c            4408.43      5529.64        282.3        225.1
qoi-fast         3202.04      4666.84        388.7        266.7

License

Dual-licensed under the terms of both the MIT license and the Apache License (Version 2.0)