---
title: "SvgSettings Constructor (CompressionType, Int32)"
canonical: https://www.graphicsmill.com/docs/gm/C_Aurigma_GraphicsMill_Codecs_SvgSettings_ctor_2_a4ff3506.htm
product: "Graphics Mill"
---

# SvgSettings Constructor (CompressionType, Int32)
 
Initializes a new instance of the [SvgSettings](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_SvgSettings.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 SvgSettings(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_SvgSettings_Compression.htm.md) property.

 - quality
     - Type: System.Int32
The JPEG quality in range `[0, 100]`. Makes sense if only the *compression* is set to [Jpeg](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_CompressionType.htm.md).
   
## See Also

### Reference

- [SvgSettings Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_SvgSettings.htm.md)
- [SvgSettings Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Codecs_SvgSettings_ctor.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
