[−][src]Struct libvips::ops::JpegsaveOptions
Options for jpegsave operation
Fields
page_height: i32
page_height: i32
-> Set page height for multipage save
min: 0, max: 10000000, default: 0
q: i32
q: i32
-> Q factor
min: 1, max: 100, default: 75
profile: String
profile: String
-> ICC profile to embed
optimize_coding: bool
optimize_coding: bool
-> Compute optimal Huffman coding tables
default: false
interlace: bool
interlace: bool
-> Generate an interlaced (progressive) jpeg
default: false
no_subsample: bool
no_subsample: bool
-> Disable chroma subsample
default: false
trellis_quant: bool
trellis_quant: bool
-> Apply trellis quantisation to each 8x8 block
default: false
overshoot_deringing: bool
overshoot_deringing: bool
-> Apply overshooting to samples with extreme values
default: false
optimize_scans: bool
optimize_scans: bool
-> Split the spectrum of DCT coefficients into separate scans
default: false
quant_table: i32
quant_table: i32
-> Use predefined quantization table with given index
min: 0, max: 8, default: 0
strip: bool
strip: bool
-> Strip all metadata from image
default: false
background: Vec<f64>
background: Vec<f64>
-> Background value
Trait Implementations
impl Clone for JpegsaveOptions
[src]
fn clone(&self) -> JpegsaveOptions
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for JpegsaveOptions
[src]
impl Default for JpegsaveOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for JpegsaveOptions
impl Send for JpegsaveOptions
impl Sync for JpegsaveOptions
impl Unpin for JpegsaveOptions
impl UnwindSafe for JpegsaveOptions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,