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 = new
.max_slope_line_len
.build
.expect;