---
title: "TgaSettings Constructor (CompressionType)"
canonical: https://www.graphicsmill.com/docs/gm/C_Aurigma_GraphicsMill_Codecs_TgaSettings_ctor_1_df8f36b3.htm
product: "Graphics Mill"
---

# TgaSettings Constructor (CompressionType)
 
Initializes a new instance of the [TgaSettings](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_TgaSettings.htm.md) class using the specified 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 TgaSettings(CompressionType compression
)
```
 
### Parameters
 
 - compression
     - Type: [Aurigma.GraphicsMill.Codecs.CompressionType](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_CompressionType.htm.md)
The compression type.
   
## See Also

### Reference

- [TgaSettings Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_TgaSettings.htm.md)
- [TgaSettings Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Codecs_TgaSettings_ctor.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
