> For the complete documentation index, see [llms.txt](https://interopxyz.gitbook.io/bitmap-plus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://interopxyz.gitbook.io/bitmap-plus/components/transform/resize-image.md).

# Resize Image

Resize an Image

## Description

Resize an Image

{% tabs %}
{% tab title="Preview" %}
![](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FAYxC2wWRjJnUOOvIK91Q%2FComponent-ImageResize.png?alt=media\&token=687d0370-4a40-4ea0-aab9-15608f98f905)
{% endtab %}

{% tab title="Location" %}
**Name** | Resize Image

**Nickname** | ResizeImg

**Tab** | Bitmap

**Panel** | Transform

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

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

<mark style="color:blue;">**M**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">|</mark> <mark style="color:blue;"></mark><mark style="color:blue;">**Mode**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">(</mark>*<mark style="color:blue;">Integer</mark>*<mark style="color:blue;">) | Sampling Mode</mark>

**W** | **Width** (*Integer*) | The new image width

**H** | **Height** (*Integer*) | The new image height
{% endtab %}

{% tab title="Ouputs" %}
**I** | **Image** (*B+ Image*) | A Bitmap Plus Image
{% endtab %}

{% tab title="Mode" %}
![](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FeV1ulrSGqAXPXGlo6uDD%2Fimage.png?alt=media\&token=fb42f272-523b-4276-8531-df4f25a0a55c)

**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 %}

### Sampling Mode

<details>

<summary>Sampling Mode Enumerable</summary>

* Bicubic = 0
* Bilinear = 1
* Nearest = 2

</details>

## Usage

![](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FVDm9nxAOFTO1yfypNvG1%2Fimage.png?alt=media\&token=0e0edf4b-f726-432f-beed-651423b75125)
