
**Summary:** Contains the image compression settings.

**Module:** [aspose.imaging.fileformats.dicom](/imaging/python-net/aspose.imaging.fileformats.dicom/)

**Full Name:** aspose.imaging.fileformats.dicom.Compression

## **Constructors**
| **Name** | **Description** |
| :- | :- |
| [Compression()](#Compression__1) | Initializes a new instance of the Compression class |
## **Properties**
| **Name** | **Type** | **Access** | **Description** |
| :- | :- | :- | :- |
| jpeg | [JpegOptions](/imaging/python-net/aspose.imaging.imageoptions/jpegoptions/) | r/w | Gets or sets the JPEG options. |
| jpeg2000 | [Jpeg2000Options](/imaging/python-net/aspose.imaging.imageoptions/jpeg2000options/) | r/w | Gets or sets the JPEG 2000 options. |
| type | [CompressionType](/imaging/python-net/aspose.imaging.fileformats.dicom/compressiontype/) | r/w | Gets or sets the type. |


### Constructor: Compression() {#Compression__1}


```
 Compression() 
```

Initializes a new instance of the Compression class

