Skip to main content

Module builtin

Module builtin 

Source
Expand description

Built-in profiles. All are generated by this crate from published colorimetric definitions (primaries, white points, transfer functions) and dedicated to the public domain (CC0-1.0), so documents that embed them carry no licence obligations. See the crate README.

Enums§

Builtin
Identifiers of the built-in profiles.

Constants§

COATED_CMYK_ICC
The shipped synthetic CMYK profile (generated by crate::synth::coated_cmyk; regenerate with PHOTOCRAFT_REGEN_PROFILES=1 cargo test -p rust-motion-cms --release regen).
COPYRIGHT
Copyright tag text of every built-in profile.

Functions§

default_for
The default profile for a colour space: sRGB, Dot Gain 20 %-compatible gray (Photoshop’s default working gray), the coated CMYK profile, Lab D50.
linear_gray
Gray with a linear tone curve: what a grayscale OpenEXR holds. Not a Builtin, as it is only assigned to such files, never offered as a working space.
srgb