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.
24 lines
659 B
TOML
24 lines
659 B
TOML
[package]
|
|
name = "designcraft-images"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "DesignCraft placed-graphic decoding: raster formats (PNG, JPEG, GIF, WebP, TIFF, BMP, PSD) and SVG"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
designcraft-color = { workspace = true }
|
|
designcraft-fonts = { workspace = true }
|
|
image = { workspace = true }
|
|
tiff = { workspace = true }
|
|
resvg = { workspace = true }
|
|
log = { workspace = true }
|
|
craft-cms = { workspace = true }
|
|
zune-core = { version = "0.5", default-features = false }
|
|
zune-jpeg = "0.5"
|
|
|
|
[dev-dependencies]
|
|
designcraft-fonts = { workspace = true, features = ["testing"] }
|