Enum image::ImageOutputFormat [] [src]

pub enum ImageOutputFormat {
    PNG,
    JPEG(u8),
    PNM(PNMSubtype),
    GIF,
    ICO,
    BMP,
    Unsupported(String),
}

An enumeration of supported image formats for encoding.

Variants

An Image in PNG Format

An Image in JPEG Format with specified quality

An Image in one of the PNM Formats

An Image in GIF Format

An Image in ICO Format

An Image in BMP Format

A value for signalling an error: An unsupported format was requested

Trait Implementations

impl Clone for ImageOutputFormat
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for ImageOutputFormat
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for ImageOutputFormat
[src]

impl Debug for ImageOutputFormat
[src]

[src]

Formats the value using the given formatter. Read more

impl From<ImageFormat> for ImageOutputFormat
[src]

[src]

Performs the conversion.

Auto Trait Implementations