---
title: "CompressionType Enumeration"
canonical: https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_CompressionType.htm
archived: false
applies_to:
  - product: "Graphics Mill"
    versions: ["12.1", "6.x-12.x (may differ)"]
    entity_id: "https://www.graphicsmill.com/#software-application"
---

# CompressionType Enumeration

**Applies to:** Graphics Mill 12.1, 6.x-12.x (may differ)
 
Contains possible compression types for various image writers.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public enum CompressionType
```
 
## Members

 |  Member name |  Description |
| --- | --- |
 |  Ccitt3 |  CCITT Group 3 compression (used for sending fax documents, for 1-bit images only). |
 |  Ccitt4 |  CCITT Group 4 compression (used for sending fax documents, for 1-bit images only). |
 |  CcittRle |  CCITT RLE compression (used for sending fax documents, for 1-bit images only). |
 |  Jpeg |  JPEG compression (lossy algorithm, used mostly for TrueColor images like photos). |
 |  Lzw |  LZW compression algorithm. |
 |  None |  No compression. |
 |  Ojpeg |  Old-style JPEG compression (superseded by Jpeg, kept for reading legacy TIFF files). |
 |  Png |  PNG compression (lossless algorithm, the same one used in PNG files). |
 |  Rle |  RLE compression algorithm. |
 |  Unknown |  Some unsupported compression method. |
 |  Zip |  Deflate compression algorithm (the same is used in ZIP files). |
 
## Remarks
  
**Note** 
Some media formats support only few of these formats. Check **Remarks** section of the **Compression** property of appropriate image format settings to get information what compression types are supported with this format.
   
## See Also

### Reference

- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
