Skip to main content

ImageFormat Class

NuGet: GHIElectronics.TinyCLR.Drawing
Assembly: GHIElectronics.TinyCLR.Drawing
Namespace: System.Drawing.Imaging

Identifies the file format of an image by a unique GUID.

public sealed class ImageFormat

Constructors​

ImageFormat(Guid guid)​

public ImageFormat(Guid guid)

Initializes a new image format identified by the given GUID.

Properties​

Guid​

public Guid Guid { get; }

Gets the GUID that identifies this image format.

RawBitmap​

public static ImageFormat RawBitmap { get; }

Gets the raw (uncompressed) bitmap format.

Bmp​

public static ImageFormat Bmp { get; }

Gets the Windows bitmap (BMP) format.

Emf​

public static ImageFormat Emf { get; }

Gets the enhanced metafile (EMF) format.

Wmf​

public static ImageFormat Wmf { get; }

Gets the Windows metafile (WMF) format.

Gif​

public static ImageFormat Gif { get; }

Gets the GIF format.

Jpeg​

public static ImageFormat Jpeg { get; }

Gets the JPEG format.

Png​

public static ImageFormat Png { get; }

Gets the PNG format.

Tiff​

public static ImageFormat Tiff { get; }

Gets the TIFF format.

Exif​

public static ImageFormat Exif { get; }

Gets the EXIF format.

Icon​

public static ImageFormat Icon { get; }

Gets the icon format.

Methods​

Equals(object o)​

public override bool Equals(object o)

Determines whether the specified object is an image format with the same GUID.

Returns bool

GetHashCode()​

public override int GetHashCode()

Returns a hash code for this image format.

Returns int

ToString()​

public override string ToString()

Returns the name of this image format.

Returns string