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

Resize to max this width if non-0

Resize to max this height if width is non-0. Note that aspect ratio is not preserved.

1-100, but useful range is 50-100. Recommended to set to 100.

If true, looping is disabled. Recommended false (looping on).

Lower quality, but faster encode.

Trait Implementations

impl Copy for GifskiSettings
[src]

impl Clone for GifskiSettings
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more