Enum imageflow_types::EncoderPreset [] [src]

pub enum EncoderPreset {
    LibjpegTurbo {
        quality: Option<i32>,
    },
    Libpng {
        depth: Option<PngBitDepth>,
        matte: Option<Color>,
        zlib_compression: Option<i32>,
    },
}

Variants

Fields of LibjpegTurbo

Fields of Libpng

Methods

impl EncoderPreset
[src]

Trait Implementations

impl Clone for EncoderPreset
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for EncoderPreset
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for EncoderPreset
[src]

Formats the value using the given formatter.