Enum prompto::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]

impl Copy for ImageFormat
[src]

impl PartialEq<ImageFormat> for ImageFormat
[src]

impl Eq for ImageFormat
[src]

impl Debug for ImageFormat
[src]

Formats the value using the given formatter.