---
description: Scale an Image
---

# Scale Image

## Description

Scale an Image

{% tabs %}
{% tab title="Preview" %}
![](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FfxwnDzHsnn7y6ub3U4B6%2FComponent-ImageScale.png?alt=media\&token=59914349-af4b-4bae-877b-211b5f106908)
{% endtab %}

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

**Nickname** | ScaleImg

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

**S** | **Scale** (_Number_) | Scale Factor
{% 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%2FbEI4emD7boR7Ra62yAik%2Fimage.png?alt=media\&token=1f90cc6f-458d-4dec-a47a-a3f8132766a1)
