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 moreSource§impl Debug for IccImportOptions
impl Debug for IccImportOptions
Auto Trait Implementations§
impl Freeze for IccImportOptions
impl RefUnwindSafe for IccImportOptions
impl Send for IccImportOptions
impl Sync for IccImportOptions
impl Unpin for IccImportOptions
impl UnwindSafe for IccImportOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more