pub struct JxlsaveBufferOptions {
pub tier: i32,
pub distance: f64,
pub effort: i32,
pub lossless: bool,
pub q: i32,
pub keep: ForeignKeep,
pub background: Vec<f64>,
pub page_height: i32,
pub profile: String,
}
Expand description
Options for jxlsave_buffer operation
Fields§
§tier: i32
tier: i32
-> Decode speed tier
min: 0, max: 4, default: 0
distance: f64
distance: f64
-> Target butteraugli distance
min: 0, max: 25, default: 1
effort: i32
effort: i32
-> Encoding effort
min: 1, max: 9, default: 7
lossless: bool
lossless: bool
-> Enable lossless compression
default: false
q: i32
q: i32
-> Quality factor
min: 0, max: 100, default: 75
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 JxlsaveBufferOptions
impl Clone for JxlsaveBufferOptions
Source§fn clone(&self) -> JxlsaveBufferOptions
fn clone(&self) -> JxlsaveBufferOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more