---
description: Applies a layer to an image
---

# Set Layer

## Description

Applies a layer to an image

{% tabs %}
{% tab title="Preview" %}
![](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2F8HUkC5a2VJCjaAfBli4E%2FComponent-LayerSet.png?alt=media\&token=a1dfa53d-5cfb-4490-8dc7-821b69bd23a4)
{% endtab %}

{% tab title="Location" %}
**Name** | Set Layer

**Nickname** | SetLyr

**Tab** | Bitmap

**Panel** | Layers

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

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

<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;">**Blend Mode**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">(</mark>_<mark style="color:blue;">Integer</mark>_<mark style="color:blue;">) | The transparency blend mode.</mark> [<mark style="color:blue;">See Below</mark>](#undefined)

**O** | **Opacity** (_Number_) | An opacity value \[0-1]

**M** | **Mask** (_B+ Image, Bitmap_) | A Bitmap Plus Image or Bitmap for an opacity mask
{% 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 %}

### Blend Modes

<details>

<summary>Blend Mode Enumerable</summary>

* Normal = 0
* Dissolve = 1
* Multiply = 2
* Screen = 3
* Overlay = 4
* Darken = 5
* Lighten = 6
* Color Dodge = 7
* Color Burn = 8
* Linear Dodge = 9
* Linear Burn = 10
* Lighter Color = 11
* Darker Color = 12
* Hard Light = 13
* Soft Light = 14
* Linear Light = 16
* Pin Light = 17
* Difference = 19
* Exclusion = 20
* Color = 23
* Luminosity = 24

</details>

## Usage

### Blend Mode Samples

![Color](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2Fn1VBCLzeI5v9ZPjIRrtl%2FColor.jpg?alt=media\&token=ea053e58-1e49-4e64-9301-4b8ffd286945) ![Color Burn](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FuDJ9Cp5zQHdHWz2mcsOX%2FColorBurn.jpg?alt=media\&token=eb9d921e-3a74-4897-81c9-0806c1130af4) ![Color Dodge](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FDEmgBm0PiVFa2YgcGgMp%2FColorDodge.jpg?alt=media\&token=22a8283c-272b-4734-bf69-a60dfba6adf6)

![Darken](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FHbrHxzujSKmp0qhiqYOk%2FDarken.jpg?alt=media\&token=69bed7b7-bda9-4bc1-b7be-a1be0be8346c) ![Darker Color](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FH0JfQyWFJghLa0RR3Mlo%2FDarkerColor.jpg?alt=media\&token=871e9a45-23a0-4c24-9d90-ddff80f1157d) ![Difference](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FQadwRIuFwOkUupyy4m0b%2FDifference.jpg?alt=media\&token=37578a39-2c23-44a9-bd28-ea2f00b94cb8)

![Dissolve](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FvlFfmst0tdnAj5kuWeTQ%2FDissolve.jpg?alt=media\&token=28bf579b-763b-4b5d-904f-58e09c61f09c) ![Exclusion](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FBfgdqvNJa9jNOTkuN5FM%2FExclusion.jpg?alt=media\&token=fb5eb6ab-baea-4874-b394-417cf40a99a8) ![Hard Light](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2Fph6Z3ZFD7xHLJD2NJ7Dh%2FHardLight.jpg?alt=media\&token=4fa605dd-68f5-4277-8e2e-ff16bbbebecc)

![Lighten](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FP8bVr7ZMNDDZM0L32xLJ%2FLighten.jpg?alt=media\&token=637ed967-9d09-49b5-8edc-7d3dadd5df30) ![Lighter Color](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FPy7STEYeCS8pnUbxaDa7%2FLighterColor.jpg?alt=media\&token=779796d8-e8d4-4cc7-af95-3b939e403a71) ![Normal](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FueuwAG8G2tV8KAEDs7er%2FNormal.jpg?alt=media\&token=4386f399-c1c2-4b1c-8acd-5515c6c42ce4)

![Linear Burn](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FQhtYOGoKOrudbMQkgRdn%2FLinearBurn.jpg?alt=media\&token=3eeddd8f-197a-4eb1-bdf3-74690ddb64fb) ![Linear Dodge](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FXAxmnW3kXUeeeEX15Wc8%2FLinearDodge.jpg?alt=media\&token=abe2e06a-624e-45fc-af2e-07af4c3715fa) ![Linear Light](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2F1fTny01QAubyuAXlAKPT%2FLinearLight.jpg?alt=media\&token=5a16e5eb-1fc9-4857-aeaf-73b787bb64a4)

![Luminocity](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FaDrrzMR4U4RLvOTOYc8W%2FLuminocity.jpg?alt=media\&token=3670d552-ce6d-45ac-af97-0425f292e70b) ![Multiply](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FVwhKzOHIv48kIthjhuci%2FMultiply.jpg?alt=media\&token=7469eb07-c571-48ae-b774-69ef99ced382) ![Soft Light](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FgUyoDzCn0h7tVzKhd73T%2FSoftLight.jpg?alt=media\&token=1b987ee8-024b-4301-ab72-65c5d760044e)

![Overlay](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FlwEM5BRBcEecwBmcAweK%2FOverlay.jpg?alt=media\&token=088de174-4767-49c4-b5b0-a9e485b492cc) ![Pin Light](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2FGq53OrrmWX94DHxDowRM%2FPinLight.jpg?alt=media\&token=d403b7da-179c-4227-988c-41682fb72f3c) ![Screen](https://3118158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhT7C2oduVfvz0FwKt3nj%2Fuploads%2Fu94a3etoJsMNeRuNg8r7%2FScreen.jpg?alt=media\&token=e80653ef-1d0d-4716-8d0a-29c52334728a)
