85c4a1083328c50a541ec786811dcaf3e22e3fcb
- 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%