Paper wallet for Hush, which you can use with no internet access while wearing a tinfoil hat inside of a Faraday cage. https://hush.is
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
jahway603 9a2d84a48f rust devs hate backwards compatibility, so we vendor 1 year ago
..
src rust devs hate backwards compatibility, so we vendor 1 year ago
.cargo-checksum.json rust devs hate backwards compatibility, so we vendor 1 year ago
CHANGELOG.md rust devs hate backwards compatibility, so we vendor 1 year ago
Cargo.toml rust devs hate backwards compatibility, so we vendor 1 year ago
LICENSE rust devs hate backwards compatibility, so we vendor 1 year ago
README.md rust devs hate backwards compatibility, so we vendor 1 year ago

README.md

Color quantization library

This library provides a color quantizer based on the NEUQUANT quantization algorithm by Anthony Dekker.

Usage

let data = vec![0; 40];
let nq = color_quant::NeuQuant::new(10, 256, &data);
let indixes: Vec<u8> = data.chunks(4).map(|pix| nq.index_of(pix) as u8).collect();
let color_map = nq.color_map_rgba();