---
description: Resize an Image
---

# Resize 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)
