# IK Set Blend Mode

IK Set Blend Mode Mode

## Description

The blend mode will determine how an image will be pasted onto another image, or onto the screen. The screen should be seen as a render target without an alpha channel. Some blend modes are only available to normal images. See list below for more information.
A lit of available blend modes:

Constant name | Constant | T(arget)/N(ormal) | Description (T(op)/B(ottom)/a(lpha))
BLEND_HIDDEN | 0 | T/N | Will not draw the image.
BLEND_FASTNORMAL | 1 | T/N | Normal blend mode (T*a+B(1-a)) (Small inaccuracy for normal images, render targets add the alpha channel)
BLEND_NORMAL | 2 | T/N | Normal blend mode (T*a+B(1-a)) (Accurate and alpha blending for normal images, render targets = BLEND_FASTNORMAL)
BLEND_DISSOLVE | 3 | N | Dissolves an image.
BLEND_MULTIPLY | 4 | T/N | Multiplies the components (T*B).
BLEND_DIVIDE | 5 | N | Divides the components (T/B).
BLEND_SCREEN | 6 | T/N | Uses a screen blend mode (B+T(1-B)).
BLEND_OVERLAY | 7 | N | Uses an overlay blend mode (B*(B+2T(1-B)).
BLEND_DODGE | 8 | N | Uses a dodge blend mode (B/(1-T)).
BLEND_BURN | 9 | N | Uses a burn blend mode (1-(1-B)/T).
BLEND_HARDLIGHT | 10 | N | Uses hard light blend mode (Conditional).
BLEND_SOFTLIGHT | 11 | N | Uses soft light blend mode (Conditional).
BLEND_GRAINEXTRACT | 12 | N | Uses grain extract blend mode (B-T+0.5).
BLEND_GRAINMERGE | 13 | N | Uses grain merge blend mode (B+T-0.5).
BLEND_DIFFERENCE | 14 | N | Uses difference blend mode (abs(T-B)).
BLEND_ADDITION | 15 | T/N | Uses addition blend mode (B+T, capped).
BLEND_SUBTRACT | 16 | T/N | Uses subtract blend mode (B-T, capped).
BLEND_DARKENONLY | 17 | T/N | Uses darken only blend mode (min(B, T)).
BLEND_LIGHTENONLY | 18 | T/N | Uses lighten only blend mode (max(B, T)).
BLEND_FORCE | 19 | T/N | Forces the top color including the alpha (T).

## Parameters

Mode | Integer | The blend mode used for pasting images.

Index