
**Inheritance:** java.lang.Object, ImageOptionsBase

The DICOM file format creation options.

## Constructors

| Constructor | Description |
| --- | --- |
| [DicomOptions()](#DicomOptions) | Initializes a new instance of the DicomOptions class. |

## Methods

| Method | Description |
| --- | --- |
| [getTargetFormat()](#getTargetFormat) |  |
| [getCompression()](#getCompression) | Gets or sets the compression. Value: The compression. |
| [setCompression(com.aspose.imaging.fileformats.dicom.Compression value)](#setCompression-com.aspose.imaging.fileformats.dicom.Compression) | Gets or sets the compression. Value: The compression. |
| [getColorType()](#getColorType) | Gets or sets the type of the color. Value: The type of the color. |
| [setColorType(int value)](#setColorType-int) | Gets or sets the type of the color. Value: The type of the color. |

### DicomOptions() {#DicomOptions}
```java
public DicomOptions()
```

Initializes a new instance of the DicomOptions class.

### getTargetFormat() {#getTargetFormat}
```java
public long getTargetFormat()
```

**Returns:** long

### getCompression() {#getCompression}
```java
public final com.aspose.imaging.fileformats.dicom.Compression getCompression()
```

Gets or sets the compression. Value: The compression.

**Returns:** com.aspose.imaging.fileformats.dicom.Compression

### setCompression(com.aspose.imaging.fileformats.dicom.Compression value) {#setCompression-com.aspose.imaging.fileformats.dicom.Compression}
```java
public final void setCompression(com.aspose.imaging.fileformats.dicom.Compression value)
```

Gets or sets the compression. Value: The compression.

### getColorType() {#getColorType}
```java
public final int getColorType()
```

Gets or sets the type of the color. Value: The type of the color.

**Returns:** int

### setColorType(int value) {#setColorType-int}
```java
public final void setColorType(int value)
```

Gets or sets the type of the color. Value: The type of the color.

