mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-02 06:17:22 -06:00
Two places turned an RGB or Lab colour into ink with the built-in coated CMYK instead of the document's embedded profile: the exact ink path's tiles (render_tile runs on rayon workers, which never inherit a caller's with_cmyk_space scope), e.g. a solid fill picked in RGB, and the split path's stand-ins (fill and effect colours, converted on the calling thread outside any scope). Both now enter cmyk_space(doc). A test with a synthetic uncoated profile checks a solid fill and a Color Overlay get the profile's inks; each half fails on its own without its fix. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
29 lines
648 B
TOML
29 lines
648 B
TOML
[package]
|
|
name = "photocraft-compose"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
photocraft-geom = { workspace = true }
|
|
photocraft-color = { workspace = true }
|
|
photocraft-raster = { workspace = true }
|
|
photocraft-doc = { workspace = true }
|
|
photocraft-vector = { workspace = true }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
rayon = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
proptest = { workspace = true }
|
|
criterion = { workspace = true }
|
|
photocraft-paint = { workspace = true }
|
|
photocraft-cms = { workspace = true }
|
|
|
|
[[bench]]
|
|
name = "compose"
|
|
harness = false
|