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

An [Encoder](../../com.aspose.drawing.imaging/encoder) object encapsulates a globally unique identifier (GUID) that identifies the category of an image encoder parameter.
## Constructors

| Constructor | Description |
| --- | --- |
| [Encoder(UUID guid)](#Encoder-java.util.UUID-) | Initializes a new instance of the [Encoder](../../com.aspose.drawing.imaging/encoder) class from the specified globally unique identifier (GUID). |
## Fields

| Field | Description |
| --- | --- |
| [COMPRESSION](#COMPRESSION) | An [Encoder](../../com.aspose.drawing.imaging/encoder) object that is initialized with the globally unique identifier for the compression parameter category. |
| [COLOR_DEPTH](#COLOR-DEPTH) | An [Encoder](../../com.aspose.drawing.imaging/encoder) object that is initialized with the globally unique identifier for the color depth parameter category. |
| [SCAN_METHOD](#SCAN-METHOD) | Represents an [Encoder](../../com.aspose.drawing.imaging/encoder) object that is initialized with the globally unique identifier for the scan method parameter category. |
| [VERSION](#VERSION) | Represents an [Encoder](../../com.aspose.drawing.imaging/encoder) object that is initialized with the globally unique identifier for the version parameter category. |
| [RENDER_METHOD](#RENDER-METHOD) | Represents an [Encoder](../../com.aspose.drawing.imaging/encoder) object that is initialized with the globally unique identifier for the render method parameter category. |
| [QUALITY](#QUALITY) | Represents an [Encoder](../../com.aspose.drawing.imaging/encoder) object that is initialized with the globally unique identifier for the quality parameter category. |
| [TRANSFORMATION](#TRANSFORMATION) | Represents an [Encoder](../../com.aspose.drawing.imaging/encoder) object that is initialized with the globally unique identifier for the transformation parameter category. |
| [LUMINANCE_TABLE](#LUMINANCE-TABLE) | Represents an [Encoder](../../com.aspose.drawing.imaging/encoder) object that is initialized with the globally unique identifier for the luminance table parameter category. |
| [CHROMINANCE_TABLE](#CHROMINANCE-TABLE) | An [Encoder](../../com.aspose.drawing.imaging/encoder) object that is initialized with the globally unique identifier for the chrominance table parameter category. |
| [SAVE_FLAG](#SAVE-FLAG) | Represents an [Encoder](../../com.aspose.drawing.imaging/encoder) object that is initialized with the globally unique identifier for the save flag parameter category. |
## Methods

| Method | Description |
| --- | --- |
| [getGuid()](#getGuid--) | Gets a globally unique identifier (GUID) that identifies an image encoder parameter category. |
### Encoder(UUID guid) {#Encoder-java.util.UUID-}
```
public Encoder(UUID guid)
```


Initializes a new instance of the [Encoder](../../com.aspose.drawing.imaging/encoder) class from the specified globally unique identifier (GUID). The GUID specifies an image encoder parameter category.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| guid | java.util.UUID | A globally unique identifier that identifies an image encoder parameter category. |

### COMPRESSION {#COMPRESSION}
```
public static final Encoder COMPRESSION
```


An [Encoder](../../com.aspose.drawing.imaging/encoder) object that is initialized with the globally unique identifier for the compression parameter category.

### COLOR_DEPTH {#COLOR-DEPTH}
```
public static final Encoder COLOR_DEPTH
```


An [Encoder](../../com.aspose.drawing.imaging/encoder) object that is initialized with the globally unique identifier for the color depth parameter category.

### SCAN_METHOD {#SCAN-METHOD}
```
public static final Encoder SCAN_METHOD
```


Represents an [Encoder](../../com.aspose.drawing.imaging/encoder) object that is initialized with the globally unique identifier for the scan method parameter category.

### VERSION {#VERSION}
```
public static final Encoder VERSION
```


Represents an [Encoder](../../com.aspose.drawing.imaging/encoder) object that is initialized with the globally unique identifier for the version parameter category.

### RENDER_METHOD {#RENDER-METHOD}
```
public static final Encoder RENDER_METHOD
```


Represents an [Encoder](../../com.aspose.drawing.imaging/encoder) object that is initialized with the globally unique identifier for the render method parameter category.

### QUALITY {#QUALITY}
```
public static final Encoder QUALITY
```


Represents an [Encoder](../../com.aspose.drawing.imaging/encoder) object that is initialized with the globally unique identifier for the quality parameter category.

### TRANSFORMATION {#TRANSFORMATION}
```
public static final Encoder TRANSFORMATION
```


Represents an [Encoder](../../com.aspose.drawing.imaging/encoder) object that is initialized with the globally unique identifier for the transformation parameter category.

### LUMINANCE_TABLE {#LUMINANCE-TABLE}
```
public static final Encoder LUMINANCE_TABLE
```


Represents an [Encoder](../../com.aspose.drawing.imaging/encoder) object that is initialized with the globally unique identifier for the luminance table parameter category.

### CHROMINANCE_TABLE {#CHROMINANCE-TABLE}
```
public static final Encoder CHROMINANCE_TABLE
```


An [Encoder](../../com.aspose.drawing.imaging/encoder) object that is initialized with the globally unique identifier for the chrominance table parameter category.

### SAVE_FLAG {#SAVE-FLAG}
```
public static final Encoder SAVE_FLAG
```


Represents an [Encoder](../../com.aspose.drawing.imaging/encoder) object that is initialized with the globally unique identifier for the save flag parameter category.

### getGuid() {#getGuid--}
```
public UUID getGuid()
```


Gets a globally unique identifier (GUID) that identifies an image encoder parameter category.

**Returns:**
java.util.UUID
