---
title: "ImageWriter.Create Method (Stream, WriterSettings)"
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Codecs_ImageWriter_Create_2_cbf93854.htm
product: "Graphics Mill"
---

# ImageWriter.Create Method (Stream, WriterSettings)
 
Creates and returns image writer on the specified stream.
 
**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 static ImageWriter Create(Stream stream,WriterSettings settings
)
```
 
### Parameters
 
 - stream
     - Type: System.IO.Stream
The Stream class instance that holds data to write to.

 - settings
     - Type: [Aurigma.GraphicsMill.Codecs.WriterSettings](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_WriterSettings.htm.md)
The writer settings.
 
### Return Value
The [ImageWriter](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_ImageWriter.htm.md) class instance.
   
## See Also

### Reference

- [ImageWriter Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_ImageWriter.htm.md)
- [Create Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Codecs_ImageWriter_Create.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
