Enum imghdr::Type [] [src]

pub enum Type {
    Gif,
    Tiff,
    Rast,
    Xbm,
    Jpeg,
    Bmp,
    Png,
    Webp,
    Exr,
    Bgp,
    Pbm,
    Pgm,
    Ppm,
    Rgb,
    Flif,
}

Recognized image types

Variants

Gif 87a and 89a Files

TIFF files

Sun Raster files

X Bitmap files

JPEG data in JFIF or Exif formats

BMP files

Portable Network Graphics

WebP files

OpenEXR files

BGP (Better Portable Graphics) files

PBM (Portable bitmap) files

PGM (Portable graymap) files

PPM (Portable pixmap) files

SGI image library files

FLIF (Free Lossless Image Format) files

Trait Implementations

impl Debug for Type
[src]

Formats the value using the given formatter.

impl PartialEq for Type
[src]

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

This method tests for !=.