---
title: "Class Compression"
url: "https://reference.aspose.com/imaging/net/aspose.imaging.fileformats.dicom/compression/"
product: "Aspose.Imaging for .NET API Reference"
description: "Aspose.Imaging.FileFormats.Dicom.Compression class. Contains the image compression settings"
---

## Compression class

Contains the image compression settings.

```csharp
public class Compression
```

## Constructors

| Name | Description |
| --- | --- |
| [Compression](compression/)() | The default constructor. |

## Properties

| Name | Description |
| --- | --- |
| [Jpeg](../../aspose.imaging.fileformats.dicom/compression/jpeg/) { get; set; } | Gets or sets the JPEG options. |
| [Jpeg2000](../../aspose.imaging.fileformats.dicom/compression/jpeg2000/) { get; set; } | Gets or sets the JPEG 2000 options. |
| [Type](../../aspose.imaging.fileformats.dicom/compression/type/) { get; set; } | Gets or sets the type. |

### See Also

* namespace [Aspose.Imaging.FileFormats.Dicom](../../aspose.imaging.fileformats.dicom/)
* assembly [Aspose.Imaging](../../)


