---
title: "ImageWriter.Create Method (FileFormat, String)"
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Codecs_ImageWriter_Create_2_3f7c7ea4.htm
product: "Graphics Mill"
---

# ImageWriter.Create Method (FileFormat, 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(FileFormat format,string fileName
)
```
 
### Parameters
 
 - format
     - Type: [Aurigma.GraphicsMill.Codecs.FileFormat](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_FileFormat.htm.md)
 [FileFormat](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_FileFormat.htm.md) to create reader for.

 - 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.
   
## 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)
