Struct libvips::ops::IccTransformOptions
source · pub struct IccTransformOptions {
pub pcs: PCS,
pub intent: Intent,
pub black_point_compensation: bool,
pub embedded: bool,
pub input_profile: String,
pub depth: i32,
}
Expand description
Options for icc_transform operation
Fields§
§pcs: PCS
pcs: PCS
-> Set Profile Connection Space
Lab
-> VIPS_PCS_LAB = 0 [DEFAULT]
Xyz
-> VIPS_PCS_XYZ = 1
Last
-> VIPS_PCS_LAST = 2
intent: Intent
intent: Intent
-> Rendering intent
Perceptual
-> VIPS_INTENT_PERCEPTUAL = 0
Relative
-> VIPS_INTENT_RELATIVE = 1 [DEFAULT]
Saturation
-> VIPS_INTENT_SATURATION = 2
Absolute
-> VIPS_INTENT_ABSOLUTE = 3
Last
-> VIPS_INTENT_LAST = 4
black_point_compensation: bool
black_point_compensation: bool
-> Enable black point compensation
default: false
embedded: bool
embedded: bool
-> Use embedded input profile, if available
default: false
input_profile: String
input_profile: String
-> Filename to load input profile from
depth: i32
depth: i32
-> Output device space depth in bits
min: 8, max: 16, default: 8
Trait Implementations§
source§impl Clone for IccTransformOptions
impl Clone for IccTransformOptions
source§fn clone(&self) -> IccTransformOptions
fn clone(&self) -> IccTransformOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more