pub struct IccExportOptions {
pub pcs: PCS,
pub intent: Intent,
pub black_point_compensation: bool,
pub output_profile: String,
pub depth: i32,
}
Expand description
Options for icc_export 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
output_profile: String
output_profile: String
-> Filename to load output profile from
depth: i32
depth: i32
-> Output device space depth in bits
min: 8, max: 16, default: 8
Trait Implementations§
Source§impl Clone for IccExportOptions
impl Clone for IccExportOptions
Source§fn clone(&self) -> IccExportOptions
fn clone(&self) -> IccExportOptions
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 IccExportOptions
impl Debug for IccExportOptions
Auto Trait Implementations§
impl Freeze for IccExportOptions
impl RefUnwindSafe for IccExportOptions
impl Send for IccExportOptions
impl Sync for IccExportOptions
impl Unpin for IccExportOptions
impl UnwindSafe for IccExportOptions
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