**Inheritance:**
java.lang.Object
```
public final class ImageFormat
```

Specifies the file format of the image. Not inheritable.
## Constructors

| Constructor | Description |
| --- | --- |
| [ImageFormat(UUID guid)](#ImageFormat-java.util.UUID-) | Initializes a new instance of the [ImageFormat](../../com.aspose.drawing.imaging/imageformat) class by using the specified java.util.UUID structure. |
## Methods

| Method | Description |
| --- | --- |
| [getMemoryBmp()](#getMemoryBmp--) | Gets a memory bitmap image format. |
| [getBmp()](#getBmp--) | Gets the bitmap (BMP) image format. |
| [getEmf()](#getEmf--) | Gets the enhanced metafile (EMF) image format. |
| [getWmf()](#getWmf--) | Gets the Windows metafile (WMF) image format. |
| [getGif()](#getGif--) | Gets the Graphics Interchange Format (GIF) image format. |
| [getJpeg()](#getJpeg--) | Gets the Joint Photographic Experts Group (JPEG) image format. |
| [getPng()](#getPng--) | Gets the W3C Portable Network Graphics (PNG) image format. |
| [getTiff()](#getTiff--) | Gets the Tagged Image File Format (TIFF) image format. |
| [getExif()](#getExif--) | Gets the Exchangeable Image File (EXIF) format. |
| [getIcon()](#getIcon--) | Gets the Windows icon image format. |
| [getGuid()](#getGuid--) | Gets a java.util.UUID structure that represents this [ImageFormat](../../com.aspose.drawing.imaging/imageformat) object. |
| [equals(Object o)](#equals-java.lang.Object-) | Returns a value that indicates whether the specified object is an [ImageFormat](../../com.aspose.drawing.imaging/imageformat) object that is equivalent to this [ImageFormat](../../com.aspose.drawing.imaging/imageformat) object. |
| [hashCode()](#hashCode--) | Returns a hash code value that represents this object. |
| [toString()](#toString--) | Converts this [ImageFormat](../../com.aspose.drawing.imaging/imageformat) object to a human-readable string. |
### ImageFormat(UUID guid) {#ImageFormat-java.util.UUID-}
```
public ImageFormat(UUID guid)
```


Initializes a new instance of the [ImageFormat](../../com.aspose.drawing.imaging/imageformat) class by using the specified java.util.UUID structure.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| guid | java.util.UUID | The java.util.UUID structure that specifies a particular image format. |

### getMemoryBmp() {#getMemoryBmp--}
```
public static ImageFormat getMemoryBmp()
```


Gets a memory bitmap image format.

**Returns:**
[ImageFormat](../../com.aspose.drawing.imaging/imageformat)
### getBmp() {#getBmp--}
```
public static ImageFormat getBmp()
```


Gets the bitmap (BMP) image format.

**Returns:**
[ImageFormat](../../com.aspose.drawing.imaging/imageformat)
### getEmf() {#getEmf--}
```
public static ImageFormat getEmf()
```


Gets the enhanced metafile (EMF) image format.

**Returns:**
[ImageFormat](../../com.aspose.drawing.imaging/imageformat)
### getWmf() {#getWmf--}
```
public static ImageFormat getWmf()
```


Gets the Windows metafile (WMF) image format.

**Returns:**
[ImageFormat](../../com.aspose.drawing.imaging/imageformat)
### getGif() {#getGif--}
```
public static ImageFormat getGif()
```


Gets the Graphics Interchange Format (GIF) image format.

**Returns:**
[ImageFormat](../../com.aspose.drawing.imaging/imageformat)
### getJpeg() {#getJpeg--}
```
public static ImageFormat getJpeg()
```


Gets the Joint Photographic Experts Group (JPEG) image format.

**Returns:**
[ImageFormat](../../com.aspose.drawing.imaging/imageformat)
### getPng() {#getPng--}
```
public static ImageFormat getPng()
```


Gets the W3C Portable Network Graphics (PNG) image format.

**Returns:**
[ImageFormat](../../com.aspose.drawing.imaging/imageformat)
### getTiff() {#getTiff--}
```
public static ImageFormat getTiff()
```


Gets the Tagged Image File Format (TIFF) image format.

**Returns:**
[ImageFormat](../../com.aspose.drawing.imaging/imageformat)
### getExif() {#getExif--}
```
public static ImageFormat getExif()
```


Gets the Exchangeable Image File (EXIF) format.

**Returns:**
[ImageFormat](../../com.aspose.drawing.imaging/imageformat)
### getIcon() {#getIcon--}
```
public static ImageFormat getIcon()
```


Gets the Windows icon image format.

**Returns:**
[ImageFormat](../../com.aspose.drawing.imaging/imageformat)
### getGuid() {#getGuid--}
```
public UUID getGuid()
```


Gets a java.util.UUID structure that represents this [ImageFormat](../../com.aspose.drawing.imaging/imageformat) object.

**Returns:**
java.util.UUID
### equals(Object o) {#equals-java.lang.Object-}
```
public boolean equals(Object o)
```


Returns a value that indicates whether the specified object is an [ImageFormat](../../com.aspose.drawing.imaging/imageformat) object that is equivalent to this [ImageFormat](../../com.aspose.drawing.imaging/imageformat) object.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| o | java.lang.Object | The object to test. |

**Returns:**
boolean - true if `o` is an [ImageFormat](../../com.aspose.drawing.imaging/imageformat) object that is equivalent to this [ImageFormat](../../com.aspose.drawing.imaging/imageformat) object; otherwise, false.
### hashCode() {#hashCode--}
```
public int hashCode()
```


Returns a hash code value that represents this object.

**Returns:**
int - A hash code that represents this object.
### toString() {#toString--}
```
public String toString()
```


Converts this [ImageFormat](../../com.aspose.drawing.imaging/imageformat) object to a human-readable string.

**Returns:**
java.lang.String - A string that represents this [ImageFormat](../../com.aspose.drawing.imaging/imageformat) object.
