f1fd2a1edd582a01c28bf96710fbcaa554fc18a3
- src/color.rs: Rgb/Lab types, planar SoA storage, wide-based SIMD RGB to Lab conversion with scalar remainder tail - src/palette.rs: NORD_PALETTE constant - Cargo.toml: add image/ndarray/rayon/wide deps, tuned release profile
Nordify (Rust)
A Rust reimplementation of nordify, a tool that converts images to the Nord palette without dithering artifacts.
Note
This project is in its infancy and probably not correct yet.
Why a Rust rewrite?
The original nordify is written in Python. The original project aims
to provide the same image conversion, without the artifacts typical of
naive dithering algorithms, as a fast, dependency-light single Rust
binary.
Usage
cargo run --release -- input.png -o output.png
Development
cargo build
cargo test
License
GPL-3.0-or-later
Languages
Rust
99.5%
Nix
0.5%