mirror of
https://github.com/storytold/designcraft.git
synced 2026-10-24 10:16:59 -06:00
- designcraft-color: ICC profiles (built-in RGB working spaces, user .icc files) go through craft-cms. The default CMYK working space is craft-cms's Coated FOGRA39; CMYK swatches show relative colorimetric with the settings' black point compensation, as placed images do. Generic CMYK and Device CMYK stay selectable; names of the profiles FOGRA39 stands in for resolve to it; ColorSettings::with_known_profiles replaces unavailable saved names with the defaults (used when the UI restores saved settings). Lab, gamut error and proofing of ICC CMYK spaces use craft-cms transforms. The Generic CMYK output profile is encoded by craft-cms. - designcraft-images: Profile, Transform, TransformOptions, Intent and Builtin are craft-cms's; its black point compensation replaces the module's sRGB table. Untrusted profiles are still ignored with a log line. - designcraft-pdf: the PDF/X output intent is the working CMYK space's profile: the FOGRA39 built-in with identifier FOGRA39, user profiles as loaded, Generic CMYK otherwise. - moxcms is no longer a direct dependency.
20 lines
398 B
TOML
20 lines
398 B
TOML
[package]
|
|
name = "designcraft-color"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "DesignCraft color"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
kurbo = { workspace = true }
|
|
serde = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
craft-cms = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
proptest = { workspace = true }
|
|
serde_json = { workspace = true }
|