---
title: "TgaWriter Constructor "
canonical: https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Codecs_TgaWriter_ctor.htm
archived: false
applies_to:
  - product: "Graphics Mill"
    versions: ["12.1", "6.x-12.x (may differ)"]
    entity_id: "https://www.graphicsmill.com/#software-application"
---

# TgaWriter Constructor 

**Applies to:** Graphics Mill 12.1, 6.x-12.x (may differ)
 
Initializes a new instance of the [TgaWriter](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_TgaWriter.htm.md) class using the specified source.
 
## Overload List

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) |  [TgaWriter(Stream)](https://www.graphicsmill.com/docs/gm/C_Aurigma_GraphicsMill_Codecs_TgaWriter_ctor_1_acbe2d88.htm.md) |  Initializes a new instance of the [TgaWriter](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_TgaWriter.htm.md) class using the specified Stream. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) |  [TgaWriter(String)](https://www.graphicsmill.com/docs/gm/C_Aurigma_GraphicsMill_Codecs_TgaWriter_ctor_1_362212bd.htm.md) |  Initializes a new instance of the [TgaWriter](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_TgaWriter.htm.md) class using the specified file name. |
   
## See Also

### Reference

- [TgaWriter Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_TgaWriter.htm.md)
- [TgaWriter Members](https://www.graphicsmill.com/docs/gm/AllMembers_T_Aurigma_GraphicsMill_Codecs_TgaWriter.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
