---
title: "Bitmap.Save Method (String)"
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Bitmap_Save_1_bb3a7a4f.htm
product: "Graphics Mill"
---

# Bitmap.Save Method (String)
 
Saves this bitmap to the specified file.
 
**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
)
```
 
### 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).
 
## Remarks
  
This method analyzes a file extension to determine the file format to save bitmap to. If an extention is unknown, this method fails (exception is thrown).
&gt;
Using this method is the same as creating an appropriate writer derived from the [ImageWriter](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_ImageWriter.htm.md) class and running it in synchronous mode.
 
## Examples
  
```csharp
bitmap.Save(@"Images\Output\out.jpg");
```
   
## 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)
