Knowledge Hub


HTML Picture

Mask

The Element Mask allows you to replace parts of an input with transparency (e.g. for generating rounded corners). The input element mask should contain transparency wherever the output should be transparent and something else (e.g. white) wherever the output should display the original input.

Inputs

input

mask

Parameters

JSON Example

{
   "id": "someid",
   "type": "Mask",
   "inputs": {
      "input": "otherid",
      "mask": "otherid"
   },
}