Enum sciter::graphics::SaveImageEncoding[][src]

pub enum SaveImageEncoding {
    Raw,
    Png,
    Jpeg(u8),
    Webp(u8),
}

Supported image encodings for Image.save().

Variants

Raw bitmap in a [a,b,g,r, a,b,g,r, ...] form.

Portable Network Graphics format.

JPEG with the specified quality level (in range of 10..100).

WebP with the specified quality level (in range of 0..100, where 0 means a lossless compression).

Trait Implementations

impl Clone for SaveImageEncoding
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for SaveImageEncoding
[src]

impl Debug for SaveImageEncoding
[src]

Formats the value using the given formatter. Read more

impl PartialEq for SaveImageEncoding
[src]

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

This method tests for !=.

Auto Trait Implementations