mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
The ink-channel blend only runs for a CMYK format, whose pixels carry the four inks first, so channels 0..3 of `px` and `out` are C, M, Y and K. One line of comment for the never-crash rule; no behaviour change. `cargo test -p photocraft-paint --lib` -> 242 passed, 0 failed, 1 ignored. `cargo test -p photocraft-engine-paint --lib color_replacement` -> 19 passed, 0 failed. `cargo fmt -p photocraft-paint -- --check` -> no output. `cargo clippy -p photocraft-paint --all-targets -- -D warnings` -> `Finished`.