Struct gifski::c_api::GifskiSettings
[−]
[src]
#[repr(C)]pub struct GifskiSettings { pub width: u32, pub height: u32, pub quality: u8, pub once: bool, pub fast: bool, }
Settings for creating a new encoder instance. See gifski_new
Fields
width: u32
Resize to max this width if non-0
height: u32
Resize to max this height if width is non-0. Note that aspect ratio is not preserved.
quality: u8
1-100, but useful range is 50-100. Recommended to set to 100.
once: bool
If true, looping is disabled. Recommended false (looping on).
fast: bool
Lower quality, but faster encode.
Trait Implementations
impl Copy for GifskiSettings
[src]
impl Clone for GifskiSettings
[src]
fn clone(&self) -> GifskiSettings
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more