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 moreSource§impl Debug for IccTransformOptions
impl Debug for IccTransformOptions
Auto Trait Implementations§
impl Freeze for IccTransformOptions
impl RefUnwindSafe for IccTransformOptions
impl Send for IccTransformOptions
impl Sync for IccTransformOptions
impl Unpin for IccTransformOptions
impl UnwindSafe for IccTransformOptions
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