pub struct Flags<T: CacheFlag = AllowCache>(pub u32, _);
Expand description
Flags for creating Transform
. Can be OR-ed together with |
.
There’s a special NO_CACHE
flag that enables sharing transform between threads.
Tuple Fields§
§0: u32
Implementations§
source§impl Flags
impl Flags
sourcepub const NO_CACHE: Flags<DisallowCache> = _
pub const NO_CACHE: Flags<DisallowCache> = _
Inhibit 1-pixel cache. This is required to make Transform
implement Sync
sourcepub const NO_OPTIMIZE: Flags = _
pub const NO_OPTIMIZE: Flags = _
Inhibit optimizations
sourcepub const NULL_TRANSFORM: Flags = _
pub const NULL_TRANSFORM: Flags = _
Don’t transform anyway
sourcepub const GAMUT_CHECK: Flags = _
pub const GAMUT_CHECK: Flags = _
Proofing flags Out of Gamut alarm
sourcepub const SOFT_PROOFING: Flags = _
pub const SOFT_PROOFING: Flags = _
Do softproofing
pub const BLACKPOINT_COMPENSATION: Flags = _
sourcepub const NO_WHITE_ON_WHITE_FIXUP: Flags = _
pub const NO_WHITE_ON_WHITE_FIXUP: Flags = _
Don’t fix scum dot
sourcepub const HIGHRES_PRECALC: Flags = _
pub const HIGHRES_PRECALC: Flags = _
Use more memory to give better accurancy
sourcepub const LOWRES_PRECALC: Flags = _
pub const LOWRES_PRECALC: Flags = _
Use less memory to minimize resources
sourcepub const DEVICELINK_8BITS: Flags = _
pub const DEVICELINK_8BITS: Flags = _
For devicelink creation Create 8 bits devicelinks
sourcepub const GUESS_DEVICE_CLASS: Flags = _
pub const GUESS_DEVICE_CLASS: Flags = _
Guess device class (for transform2devicelink)
sourcepub const KEEP_SEQUENCE: Flags = _
pub const KEEP_SEQUENCE: Flags = _
Keep profile sequence for devicelink creation
sourcepub const FORCE_CLUT: Flags = _
pub const FORCE_CLUT: Flags = _
Specific to a particular optimizations Force CLUT optimization
sourcepub const CLUT_POST_LINEARIZATION: Flags = _
pub const CLUT_POST_LINEARIZATION: Flags = _
create postlinearization tables if possible
sourcepub const CLUT_PRE_LINEARIZATION: Flags = _
pub const CLUT_PRE_LINEARIZATION: Flags = _
create prelinearization tables if possible
sourcepub const NO_NEGATIVES: Flags = _
pub const NO_NEGATIVES: Flags = _
Specific to unbounded mode Prevent negative numbers in floating point transforms
sourcepub const COPY_ALPHA: Flags = _
pub const COPY_ALPHA: Flags = _
Alpha channels are copied on cmsDoTransform()
sourcepub const NO_DEFAULT_RESOURCE_DEF: Flags = _
pub const NO_DEFAULT_RESOURCE_DEF: Flags = _
CRD special