phundrak 28dac1b7dc feat: wire up image conversion pipeline and CLI
Add `convert.rs`: a SIMD nearest-color search and a rayon-parallel
`nordify_pixels` function. Add `error.rs` with the `NordifyError` type.

Rewrite `lib.rs` to expose `NordifyOptions`, `nordify_image`, and
`nordify_file` as the public API. Rewrite `main.rs` to parse CLI
arguments with `argh` and call into `lib.rs`.

Add `argh` and `thiserror` as dependencies.
2026-08-28 13:41:18 +02:00
2026-08-28 13:41:18 +02:00
2026-08-28 13:41:18 +02:00
2026-08-28 13:41:18 +02:00
2026-08-28 13:41:18 +02:00
2026-08-28 13:41:18 +02:00
2026-08-28 13:41:18 +02:00
2026-08-28 13:41:18 +02:00

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

S
Description
No description provided
Readme
61 KiB
Languages
Rust 99.5%
Nix 0.5%