Enum image::ImageFormat [] [src]

pub enum ImageFormat {
    PNG,
    JPEG,
    GIF,
    WEBP,
    PPM,
    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 PPM 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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ImageFormat
[src]

impl PartialEq for ImageFormat
[src]

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

This method tests for !=.

impl Eq for ImageFormat
[src]

impl Debug for ImageFormat
[src]

Formats the value using the given formatter.