## ImageFormat class

Specifies the file format of the image. Not inheritable.

```csharp
public sealed class ImageFormat
```

## Constructors

| Name | Description |
| --- | --- |
| [ImageFormat](imageformat/)(Guid) | Initializes a new instance of the `ImageFormat` class by using the specified Guid structure. |

## Properties

| Name | Description |
| --- | --- |
| static [Bmp](../../system.drawing.imaging/imageformat/bmp/) { get; } | Gets the bitmap (BMP) image format. |
| static [Emf](../../system.drawing.imaging/imageformat/emf/) { get; } | Gets the enhanced metafile (EMF) image format. |
| static [Exif](../../system.drawing.imaging/imageformat/exif/) { get; } | Gets the Exchangeable Image File (EXIF) format. |
| static [Gif](../../system.drawing.imaging/imageformat/gif/) { get; } | Gets the Graphics Interchange Format (GIF) image format. |
| static [Icon](../../system.drawing.imaging/imageformat/icon/) { get; } | Gets the Windows icon image format. |
| static [Jpeg](../../system.drawing.imaging/imageformat/jpeg/) { get; } | Gets the Joint Photographic Experts Group (JPEG) image format. |
| static [MemoryBmp](../../system.drawing.imaging/imageformat/memorybmp/) { get; } | Gets a memory bitmap image format. |
| static [Png](../../system.drawing.imaging/imageformat/png/) { get; } | Gets the W3C Portable Network Graphics (PNG) image format. |
| static [Tiff](../../system.drawing.imaging/imageformat/tiff/) { get; } | Gets the Tagged Image File Format (TIFF) image format. |
| static [Wmf](../../system.drawing.imaging/imageformat/wmf/) { get; } | Gets the Windows metafile (WMF) image format. |
| [Guid](../../system.drawing.imaging/imageformat/guid/) { get; } | Gets a Guid structure that represents this ImageFormat object. |

## Methods

| Name | Description |
| --- | --- |
| override [Equals](../../system.drawing.imaging/imageformat/equals/)(object) | Returns a value that indicates whether the specified object is an ImageFormat object that is equivalent to this ImageFormat object. |
| override [GetHashCode](../../system.drawing.imaging/imageformat/gethashcode/)() | Returns a hash code value that represents this object. |
| override [ToString](../../system.drawing.imaging/imageformat/tostring/)() | Converts this ImageFormat object to a human-readable string. |

### See Also

* namespace [System.Drawing.Imaging](../../system.drawing.imaging/)
* assembly [Aspose.Drawing](../../)


