ImageFormat
Namespace: System.Drawing.Imaging
Assembly: System.Drawing.Managed (4.0.0.0)
Specifies the format of the image.
- C#
- VB.NET
public class ImageFormat
Public Class ImageFormat
Constructors
ImageFormat(guid)
Initializes a new instance of the ImageFormat class with the specified GUID.
| Name | Type | Description |
|---|---|---|
| guid | Guid | The Guid structure that specifies a particular image format. |
Properties
Bmp
ImageFormat: Gets the bitmap image format.
Emf
ImageFormat: Gets the enhanced Windows metafile image format.
Exif
ImageFormat: Gets the Exchangeable Image Format (EXIF).
Gif
ImageFormat: Gets the GIF image format.
Guid
Guid: Gets specifies a global unique identifier (GUID) that represents this ImageFormat.
Icon
ImageFormat: Gets the Windows icon image format.
Jpeg
ImageFormat: Gets the JPEG image format.
MemoryBmp
ImageFormat: Gets a memory bitmap image format.
Png
ImageFormat: Gets the W3C PNG image format.
Tiff
ImageFormat: Gets the Tag Image File Format (TIFF) image format.
Webp
ImageFormat: Gets the Webp image format.
Webp is defined in System.Drawing.Common with a specific codec. However, it appears that it's not implemented in Windows.
Wmf
ImageFormat: Gets the Windows metafile image format.