---
title: "ImageWriter.Create Method (String)"
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Codecs_ImageWriter_Create_1_bb3a7a4f.htm
product: "Graphics Mill"
---

# ImageWriter.Create Method (String)
 
Creates and returns image writer on the specified file.
 
**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(string fileName
)
```
 
### Parameters
 
 - fileName
     - Type: System.String
The name of the file to write to.
 
### Return Value
The [ImageWriter](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_ImageWriter.htm.md) class instance.
 
## Examples
  
```csharp
using (var reader = ImageReader.Create(@"Images\in.jpg"))
using (var rotate = new Rotate(90))
using (var writer = ImageWriter.Create(@"Images\Output\out.jpg"))
{
    Pipeline.Run(reader + rotate + writer);
}
```
   
## 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)
