1 unstable release

0.1.0 Jun 17, 2024

#289 in Compression

MIT/Apache

17KB
357 lines

AZTEC

A compression algorithm based on: https://ieeexplore.ieee.org/document/4502549

3 bytes get used for each line/slope which means that in the worst case the compressed data will be 1.5 times larger than the original.

Usage:

const THRESHOLD: u16 = 50;
let config = AztecConfigBuilder::new(THRESHOLD)
   .max_slope_line_len(4)
   .build()
   .expect("Invalid Config");

No runtime deps