Maks node

Left Toolbar > Compose icon Compose Nodes > Mask icon Mask

The Mask node modifies the transparency of the input image with a monochromatic version of the Mask Image.

The black areas of the Mask Image are 100% transparent and the white areas are 100% opaque.

input
In0 Img
In0 Mask

output
Out Img

Procedure

To Modify the transparency of an image:

  1. On the left toolbar choose Compose Nodes > Mask. Compose icon > Mask icon

  2. Drag the Mask icon into the Node Graph.

    Mask node

  3. Connect the output of an image node into the Img input in the Mask node.

  4. Connect the output of an image node into the Mask input in the Mask node.

  5. Adjust the attributes of the Mask node to modify the output image.

Inputs

Img
The Image to which the transparency channel will be modified.

Mask
The image that defines the new transparency channel.

Outputs

Img
The modified image.

Attributes Panel

Mask attributes

Method
Sets the mix method.
Mix: Mixes the Input Image transparency with the monochromatic Input Mask Image.
Replace: Replaces the Input Image transparency with the monochromatic Input Mask Image.

Opacity
Multiplies the transparency value.

Color
Defines the color of the output image if the Img input image is not connected. The size and position is defined by the Mask image.