lumera / guides

LUMERA PHOTO / PRACTICAL GUIDE

Create a layer mask online

A mask controls a layer’s visibility separately from its pixels. Black hides the image, white reveals it, and intermediate values provide partial visibility. This example reveals a coloured stroke over a light background while keeping the original colour layer intact.

English edition · English interface screenshots captured in desktop Chrome. The original exercise was checked 2026-10-22. Choose English in the editor settings if needed. Keep your source files and inspect the downloaded result.

Open Lumera Photo ↗ Русская версия →

STEP 01

Open the two-layer sample

Download mask-source.psd and open it through File → Open. Select the top Colour pattern layer in the Layers panel. The Light background layer sits underneath it, and the canvas measures 600 × 400 pixels.

STEP 02

Create a black mask

Choose Layer → Layer Mask → Hide All. The colour layer disappears from the canvas and a black mask thumbnail appears beside its image thumbnail. The light layer underneath remains visible.

STEP 03

Reveal an area with a white brush

Make sure the black mask thumbnail is selected. Select the Brush tool, use white as the foreground colour, set the size to 20 pixels, and use 100% Opacity and Flow. Paint a horizontal stroke across the centre of the canvas. The colour image appears only beneath the white mask stroke; the remaining source pixels stay hidden.

STEP 04

Save the PSD and export a PNG

Use File → Save As… to download a PSD with its mask. Then choose File → Export → Quick Export as PNG. A warning about flattening layers is expected: PNG turns the mask into the finished visible result, so keep the editable PSD separately.

STEP 05

Check the saved document

Open the downloaded PSD through File → Open and select its mask thumbnail. In this example, reopening preserved both layers, the mask and the appearance. The PNG also opens, but as a single flattened layer. Both files measure 600 × 400 pixels.

English interface screenshots and results

Follow the corresponding controls in the English editor. Open any screenshot to inspect the details at full size.

The source PSD contains a colour image and a separate light background.
The source PSD contains a colour image and a separate light background. Click to view full size.
Hide All creates a mask that hides the entire layer.
Hide All creates a mask that hides the entire layer. Click to view full size.
A white stroke on the mask reveals the colour layer without erasing its pixels.
A white stroke on the mask reveals the colour layer without erasing its pixels. Click to view full size.
Use PNG for the finished image and PSD to keep editing the mask.
Use PNG for the finished image and PSD to keep editing the mask. Click to view full size.
The reopened PSD retains a separate mask on the top layer.
The reopened PSD retains a separate mask on the top layer. Click to view full size.

Limits, troubleshooting and saving

The result is a 600 × 400 pixel document with a coloured stroke on a light background. PSD keeps both layers and the editable mask; PNG contains only the visible flattened result. Reveal Selection and Hide Selection were unavailable in the tested version. This example uses the working Hide All command and a brush. Select the mask thumbnail before painting, rather than the image thumbnail. Otherwise the brush changes the layer’s pixels. PNG does not preserve layers or masks. Keep a separate PSD to continue editing. The exercise was performed in both language interfaces on lumeratools.com. File checks confirmed that the top layer’s original RGB pixels were unchanged, the mask contains values from 0 to 255, and the PNG exactly matches the flattened PSD composite.

Lumera is a beta. This guide describes the checked practice example, not a guarantee for every file or browser. Save the downloaded result and editable project before closing the tab.

English practice-file notes (TXT) ↓

Practice files and results

Use these source files, editable projects and finished examples to follow the guide. Keep your own originals separately.