> 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/edit/replace-channels.md).

# Replace Channels

Replace the Channels of a Bitmap

## Description

Replace the Channels of a Bitmap.

{% tabs %}
{% tab title="Preview" %}
![](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2F11xYqFkOGagqXmLX4RQP%2FComponent-ReplaceChannels.png?alt=media\&token=8c1c07e4-82dd-42d5-95ff-b1b80d0f0ba5)
{% endtab %}

{% tab title="Location" %}
**Name** | Replace Channels

**Nickname** | Replace

**Tab** | Bitmap

**Panel** | Edit

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

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

<mark style="color:blue;">**A**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">|</mark> <mark style="color:blue;"></mark><mark style="color:blue;">**Alpha**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">(</mark>*<mark style="color:blue;">Integer</mark>*<mark style="color:blue;">) | Replacement for Alpha channel</mark>

<mark style="color:blue;">**R**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">|</mark> <mark style="color:blue;"></mark><mark style="color:blue;">**Red**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">(</mark>*<mark style="color:blue;">Integer</mark>*<mark style="color:blue;">) | Replacement for Red channel</mark>

<mark style="color:blue;">**G**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">|</mark> <mark style="color:blue;"></mark><mark style="color:blue;">**Green**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">(</mark>*<mark style="color:blue;">Integer</mark>*<mark style="color:blue;">) | Replacement for Green channel</mark>

<mark style="color:blue;">**B**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">|</mark> <mark style="color:blue;"></mark><mark style="color:blue;">**Blue**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">(</mark>*<mark style="color:blue;">Integer</mark>*<mark style="color:blue;">) | Replacement for Blue channel</mark>
{% 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 %}

### **Channels** Mode

<details>

<summary><strong>Channels</strong> Mode Enumerable</summary>

* Alpha = 0
* Red = 1
* Green = 2
* Blue = 3
* Hue = 4
* Saturation = 5
* Luminance = 6

</details>

## Usage
