---
title: "TgaSettings Constructor (CompressionType, Boolean)"
canonical: https://www.graphicsmill.com/docs/gm/C_Aurigma_GraphicsMill_Codecs_TgaSettings_ctor_2_c452ab6e.htm
product: "Graphics Mill"
---

# TgaSettings Constructor (CompressionType, Boolean)
 
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 and reduced precision.
 
**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,bool reducedPrecision
)
```
 
### Parameters
 
 - compression
     - Type: [Aurigma.GraphicsMill.Codecs.CompressionType](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_CompressionType.htm.md)
The compression type.

 - reducedPrecision
     - Type: System.Boolean
If `true` then image is saved with reduced color depth, 16 bits per pixel: 5 bits for red, 6 bits for green, and 5 bits for blue, otherwise the standard 24bpp color depth is used.
   
## 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)
