
**Inheritance:**
java.lang.Object
```
public class ImageFormat
```

Specifies the file format of the image.
## Constructors

| Constructor | Description |
| --- | --- |
| [ImageFormat()](#ImageFormat--) |  |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object obj)](#equals-java.lang.Object-) | Returns a value that indicates whether the specified object is an ImageFormat object that is equivalent to this ImageFormat object. |
| [getBmp()](#getBmp--) | Gets the bitmap (BMP) image format. |
| [getClass()](#getClass--) |  |
| [getEmf()](#getEmf--) | Gets the enhanced metafile (EMF) image format. |
| [getExif()](#getExif--) | Gets the Exchangeable Image File (Exif) format. |
| [getGif()](#getGif--) | Gets the Graphics Interchange Format (GIF) image format. |
| [getIcon()](#getIcon--) | Gets the Windows icon image format. |
| [getImageFormatFromSuffixName(String name)](#getImageFormatFromSuffixName-java.lang.String-) | Get the image format according to suffix name |
| [getJpeg()](#getJpeg--) | Gets the Joint Photographic Experts Group (JPEG) image format. |
| [getMemoryBmp()](#getMemoryBmp--) | Gets a memory bitmap image format. |
| [getName()](#getName--) | Get the string name of this ImageFormat instance |
| [getPng()](#getPng--) | Gets the W3C Portable Network Graphics (PNG) image format. |
| [getTiff()](#getTiff--) | Gets the Tagged Image File Format (TIFF) image format. |
| [getWmf()](#getWmf--) | Gets the Windows metafile (WMF) image format. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### ImageFormat() {#ImageFormat--}
```
public ImageFormat()
```


### equals(Object obj) {#equals-java.lang.Object-}
```
public boolean equals(Object obj)
```


Returns a value that indicates whether the specified object is an ImageFormat object that is equivalent to this ImageFormat object.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| obj | java.lang.Object | The object to test. |

**Returns:**
boolean - true if o is an ImageFormat object that is equivalent to this ImageFormat object; otherwise, false.
### getBmp() {#getBmp--}
```
public static ImageFormat getBmp()
```


Gets the bitmap (BMP) image format.

**Returns:**
[ImageFormat](../../com.aspose.cells/imageformat) - An ImageFormat object that indicates the bitmap image format.
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getEmf() {#getEmf--}
```
public static ImageFormat getEmf()
```


Gets the enhanced metafile (EMF) image format.

**Returns:**
[ImageFormat](../../com.aspose.cells/imageformat) - An ImageFormat object that indicates the enhanced metafile image format.
### getExif() {#getExif--}
```
public static ImageFormat getExif()
```


Gets the Exchangeable Image File (Exif) format.

**Returns:**
[ImageFormat](../../com.aspose.cells/imageformat) - An ImageFormat object that indicates the Exif format.
### getGif() {#getGif--}
```
public static ImageFormat getGif()
```


Gets the Graphics Interchange Format (GIF) image format.

**Returns:**
[ImageFormat](../../com.aspose.cells/imageformat) - An ImageFormat object that indicates the GIF image format.
### getIcon() {#getIcon--}
```
public static ImageFormat getIcon()
```


Gets the Windows icon image format.

**Returns:**
[ImageFormat](../../com.aspose.cells/imageformat) - An ImageFormat object that indicates the Windows icon image format.
### getImageFormatFromSuffixName(String name) {#getImageFormatFromSuffixName-java.lang.String-}
```
public static ImageFormat getImageFormatFromSuffixName(String name)
```


Get the image format according to suffix name

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| name | java.lang.String | suffix name |

**Returns:**
[ImageFormat](../../com.aspose.cells/imageformat) - >An ImageFormat object according to the suffix name.
### getJpeg() {#getJpeg--}
```
public static ImageFormat getJpeg()
```


Gets the Joint Photographic Experts Group (JPEG) image format.

**Returns:**
[ImageFormat](../../com.aspose.cells/imageformat) - An ImageFormat object that indicates the JPEG image format.
### getMemoryBmp() {#getMemoryBmp--}
```
public static ImageFormat getMemoryBmp()
```


Gets a memory bitmap image format.

**Returns:**
[ImageFormat](../../com.aspose.cells/imageformat) - An ImageFormat object that indicates the memory bitmap image format.
### getName() {#getName--}
```
public String getName()
```


Get the string name of this ImageFormat instance

**Returns:**
java.lang.String - The string name of this ImageFormat instance
### getPng() {#getPng--}
```
public static ImageFormat getPng()
```


Gets the W3C Portable Network Graphics (PNG) image format.

**Returns:**
[ImageFormat](../../com.aspose.cells/imageformat) - An ImageFormat object that indicates the PNG image format.
### getTiff() {#getTiff--}
```
public static ImageFormat getTiff()
```


Gets the Tagged Image File Format (TIFF) image format.

**Returns:**
[ImageFormat](../../com.aspose.cells/imageformat) - An ImageFormat object that indicates the TIFF image format.
### getWmf() {#getWmf--}
```
public static ImageFormat getWmf()
```


Gets the Windows metafile (WMF) image format.

**Returns:**
[ImageFormat](../../com.aspose.cells/imageformat) - An ImageFormat object that indicates the Windows metafile image format.
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

