# Save Bitmap

## Description

Save an Image or Bitmap to File

{% tabs %}
{% tab title="Preview" %}
![](/files/D5r8C3gZB6IxAFMDSgfG)
{% endtab %}

{% tab title="Location" %}
**Name** | Save Bitmap

**Nickname** | SaveBmp

**Tab** | Bitmap

**Panel** | File

**Division** | 1
{% endtab %}

{% tab title="Inputs" %}
**I** | **Image / Bitmap** (*B+ Image, Bitmap*) | An Image or Bitmap

**F** | **Folder Path** (*Text*) | The folder path to save the file

**N** | **File Name** (*Text*) | The file name for the bitmap

<mark style="color:blue;">**E**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">|</mark> <mark style="color:blue;"></mark><mark style="color:blue;">**Extension**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">(</mark>*<mark style="color:blue;">Integer</mark>*<mark style="color:blue;">) | File type extension</mark>&#x20;

**S** | **Save** (*Bool*) | If true, save image file
{% endtab %}

{% tab title="Ouputs" %}
**P** | **Filepath** (*Text*) | The full path to the new file
{% endtab %}

{% tab title="Mode" %}
![](/files/S9AJm2ah8I4pcmsLkijU)

**Save Image** | Opens a file save dialog to save a raster file of the current image.

**Copy Image to Clipboard** | Copies the image to the clipboard (no alpha)
{% endtab %}
{% endtabs %}

### **Extension**

<details>

<summary><strong>Extension</strong> Enumerable</summary>

* png = 0
* jpeg = 1
* bmp = 2
* tiff = 3

</details>

## Usage


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://interopxyz.gitbook.io/bitmap-plus/components/file/save-bitmap.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
