Enum imageflow_types::EncoderPreset
[−]
[src]
pub enum EncoderPreset {
LibjpegTurbo {
quality: Option<i32>,
},
Libpng {
depth: Option<PngBitDepth>,
matte: Option<Color>,
zlib_compression: Option<i32>,
},
}Variants
LibjpegTurboFields of LibjpegTurbo
quality: Option<i32> |
LibpngFields of Libpng
depth: Option<PngBitDepth> | |
matte: Option<Color> | |
zlib_compression: Option<i32> |
Methods
impl EncoderPreset[src]
fn libpng32() -> EncoderPreset
fn libjpegturbo() -> EncoderPreset
fn libjpegturbo_q(quality: Option<i32>) -> EncoderPreset
Trait Implementations
impl Clone for EncoderPreset[src]
fn clone(&self) -> EncoderPreset
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl PartialEq for EncoderPreset[src]
fn eq(&self, __arg_0: &EncoderPreset) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &EncoderPreset) -> bool
This method tests for !=.