Commit Graph
3 Commits
Author SHA1 Message Date
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
phundrak f1fd2a1edd feat: add color module with sRGB to Lab conversion (scalar + SIMD)
- 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
2026-08-28 13:41:18 +02:00
phundrak 3e4772014e feat: initialize project 2026-08-28 13:41:18 +02:00