Enum image::ImageFormat[][src]

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

Deprecated since 0.17.0

: Use the more general PNM

An Image in PPM 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]

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. Read more

Auto Trait Implementations

impl Send for ImageFormat

impl Sync for ImageFormat