---
title: "CustomImageWriter Constructor "
canonical: https://www.graphicsmill.com/docs/gm/C_Aurigma_GraphicsMill_Codecs_CustomImageWriter_ctor_1_fa57e474.htm
product: "Graphics Mill"
---

# CustomImageWriter Constructor 
 
Initializes a new instance of the [CustomImageWriter](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_CustomImageWriter.htm.md) class with the specified internal writer.
 
**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 CustomImageWriter(IImageWriter writer
)
```
 
### Parameters
 
 - writer
     - Type: [Aurigma.GraphicsMill.Codecs.IImageWriter](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_IImageWriter.htm.md)
The internal image writer to wrap.
   
## See Also

### Reference

- [CustomImageWriter Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_CustomImageWriter.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
