Skip to content

Masking

Masking allows you to control which parts of an image are visible and which are not with the use of a mask image.

In PixiEditor, masks define opacity based on lightness.

In other words, the brighter the pixel in the mask, the more visible the corresponding pixel in the image will be. The darker the pixel in the mask, the more transparent the corresponding pixel in the image will be.

Black pixel = 0% opacity (fully transparent) White pixel = 100% opacity (fully opaque)

Anything in between will be a percentage of opacity based on the lightness value of the pixel in the mask.

For an image like this:

Masked Image

We can use a mask like this:

Mask Image

And the result will be:

Masked Result

To create a mask in PixiEditor

  1. Open Layer’s panel
  2. Select the layer you want to mask
  3. Click on the Mask button in the Layer’s panel top bar
  4. Click on the newly created mask, next to your layer preview