Struct libvips::ops::IccImportOptions
source · pub struct IccImportOptions {
pub pcs: PCS,
pub intent: Intent,
pub black_point_compensation: bool,
pub embedded: bool,
pub input_profile: String,
}
Expand description
Options for icc_import 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
Trait Implementations§
source§impl Clone for IccImportOptions
impl Clone for IccImportOptions
source§fn clone(&self) -> IccImportOptions
fn clone(&self) -> IccImportOptions
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