Enum image::ImageFormat [] [src]

pub enum ImageFormat {
    PNG,
    JPEG,
    GIF,
    WEBP,
    PNM,
    TIFF,
    TGA,
    BMP,
    ICO,
    HDR,
}

An enumeration of supported image formats. Not all formats support both encoding and decoding.

Variants

An Image in PNG Format

An Image in JPEG Format

An Image in GIF Format

An Image in WEBP Format

An Image in general PNM Format

An Image in TIFF Format

An Image in TGA Format

An Image in BMP Format

An Image in ICO Format

An Image in Radiance HDR Format

Trait Implementations

impl Clone for ImageFormat
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for ImageFormat
[src]

impl PartialEq for ImageFormat
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for ImageFormat
[src]

impl Debug for ImageFormat
[src]

[src]

Formats the value using the given formatter. Read more

impl From<ImageFormat> for ImageOutputFormat
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for ImageFormat

impl Sync for ImageFormat