---
title: "Bitmap.Save Method (String, WriterSettings)"
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Bitmap_Save_2_564f3523.htm
product: "Graphics Mill"
---

# Bitmap.Save Method (String, WriterSettings)
 
Saves this bitmap to the specified file using the provided settings.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public void Save(string fileName,WriterSettings settings
)
```
 
### Parameters
 
 - fileName
     - Type: System.String
A string that contains the name of the file to which to save this [Bitmap](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Bitmap.htm.md).

 - settings
     - Type: [Aurigma.GraphicsMill.Codecs.WriterSettings](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_WriterSettings.htm.md)
 
## Remarks
  
This method determines an output file format from the [WriterSettings](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_WriterSettings.htm.md) (regardless to the file extension).
 
Using this method is the same as creating appropriate writer derived from [ImageWriter](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_ImageWriter.htm.md) and running it in synchronous mode.
 
## Examples
  
```csharp
bitmap.Save(@"Images\Output\out.jpg", new JpegSettings(70));
```
   
## See Also

### Reference

- [Bitmap Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Bitmap.htm.md)
- [Save Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Bitmap_Save.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
