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

This attribute is only meaningful if the foreign data is a raster-based foreign object, such as a DIB, JPG, PNG, TIFF, or GIF file. The value indicates the type of compression applied to the file.
## Fields

| Field | Description |
| --- | --- |
| [GIF](#GIF) | GIF compression. |
| [JPEG](#JPEG) | JPEG compression. |
| [NO](#NO) | No compression (the default). |
| [PNG](#PNG) | PNG compression. |
| [TIFF](#TIFF) | TIFF compression. |
| [UNDEFINED](#UNDEFINED) | Undefined. |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### GIF {#GIF}
```
public static final int GIF
```


GIF compression.

### JPEG {#JPEG}
```
public static final int JPEG
```


JPEG compression.

### NO {#NO}
```
public static final int NO
```


No compression (the default).

### PNG {#PNG}
```
public static final int PNG
```


PNG compression.

### TIFF {#TIFF}
```
public static final int TIFF
```


TIFF compression.

### UNDEFINED {#UNDEFINED}
```
public static final int UNDEFINED
```


Undefined.

### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### 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 |  |

