---
title: "SvgSettings.Compression Property "
canonical: https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Codecs_SvgSettings_Compression.htm
product: "Graphics Mill"
---

# SvgSettings.Compression Property 
 
Gets or sets a PDF compression type.
 
**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 CompressionType Compression { get; set; }
```
 
### Property Value
A [CompressionType](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_CompressionType.htm.md) to write the image with. The default value is [Zip](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_CompressionType.htm.md).
 
## Remarks
  
PDF format supports the following compression types:
 
|  Compression Type |  Limitations |
| --- | --- |
 |  **[None](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_CompressionType.htm.md)** |  No limitations. Supported with all pixel formats allowed for PDF files. |
 |  **[Zip](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_CompressionType.htm.md)** |  No limitations. Supported with all pixel formats allowed for PDF files. |
 |  **[Jpeg](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_CompressionType.htm.md)** |  Can be used only with those pixel formats which are supported by JPEG (non-extended and non-indexed grayscale, RGB, and CMYK images). To adjust JPEG quality, use [Quality](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Codecs_SvgSettings_Quality.htm.md) property. |
   
## See Also

### Reference

- [SvgSettings Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_SvgSettings.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
