---
title: "EpsSettings Constructor (CompressionType, Int32)"
canonical: https://www.graphicsmill.com/docs/gm/C_Aurigma_GraphicsMill_Codecs_EpsSettings_ctor_2_a4ff3506.htm
product: "Graphics Mill"
---

# EpsSettings Constructor (CompressionType, Int32)
 
Initializes a new instance of the [EpsSettings](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_EpsSettings.htm.md) class using the specified compression type and quality.
 
**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 EpsSettings(CompressionType compression,int quality
)
```
 
### Parameters
 
 - compression
     - Type: [Aurigma.GraphicsMill.Codecs.CompressionType](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_CompressionType.htm.md)
A [CompressionType](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_CompressionType.htm.md) to write the image with. You can change it later through the [Compression](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Codecs_EpsSettings_Compression.htm.md) property.

 - quality
     - Type: System.Int32
Raster quality in range `[0, 100]`. The default value is `75`. You can change it later through the [Compression](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Codecs_EpsSettings_Compression.htm.md) property.
   
## See Also

### Reference

- [EpsSettings Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_EpsSettings.htm.md)
- [EpsSettings Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Codecs_EpsSettings_ctor.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
