pub struct VipssaveTargetOptions {
pub keep: ForeignKeep,
pub background: Vec<f64>,
pub page_height: i32,
pub profile: String,
}
Expand description
Options for vipssave_target operation
Fields§
§keep: ForeignKeep
keep: ForeignKeep
-> Which metadata to retain
None
-> VIPS_FOREIGN_KEEP_NONE = 0
Exif
-> VIPS_FOREIGN_KEEP_EXIF = 1
Xmp
-> VIPS_FOREIGN_KEEP_XMP = 2
Iptc
-> VIPS_FOREIGN_KEEP_IPTC = 4
Icc
-> VIPS_FOREIGN_KEEP_ICC = 8
Other
-> VIPS_FOREIGN_KEEP_OTHER = 16
All
-> VIPS_FOREIGN_KEEP_ALL = 31 [DEFAULT]
background: Vec<f64>
background: Vec<f64>
-> Background value
page_height: i32
page_height: i32
-> Set page height for multipage save
min: 0, max: 10000000, default: 0
profile: String
profile: String
-> Filename of ICC profile to embed
Trait Implementations§
Source§impl Clone for VipssaveTargetOptions
impl Clone for VipssaveTargetOptions
Source§fn clone(&self) -> VipssaveTargetOptions
fn clone(&self) -> VipssaveTargetOptions
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 VipssaveTargetOptions
impl Debug for VipssaveTargetOptions
Auto Trait Implementations§
impl Freeze for VipssaveTargetOptions
impl RefUnwindSafe for VipssaveTargetOptions
impl Send for VipssaveTargetOptions
impl Sync for VipssaveTargetOptions
impl Unpin for VipssaveTargetOptions
impl UnwindSafe for VipssaveTargetOptions
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