[][src]Struct libvips::ops::JpegsaveOptions

pub struct JpegsaveOptions {
    pub page_height: i32,
    pub q: i32,
    pub profile: String,
    pub optimize_coding: bool,
    pub interlace: bool,
    pub no_subsample: bool,
    pub trellis_quant: bool,
    pub overshoot_deringing: bool,
    pub optimize_scans: bool,
    pub quant_table: i32,
    pub strip: bool,
    pub background: Vec<f64>,
}

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]

impl Debug for JpegsaveOptions[src]

impl Default for JpegsaveOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.