On this page
Scott
Scott

Published on Sep 24, 2024, updated on Nov 20, 2026

To mask an image, place the object that defines the visible area below the image, select both, and apply the mask command. You can then move the image inside that boundary without deleting its hidden pixels. A circle gives you an avatar; text can reveal a photograph inside letters; a transparent silhouette can reveal a different image inside a person’s outline.

This guide keeps those three tasks separate and shows the layer arrangement in Pixso and Figma. Start with a copy of your image, a clear idea of the area you want to reveal, and permission to edit the design file. Masking changes visibility: it does not automatically remove a photograph’s background or reconstruct missing detail. Use the Pixso UI design workspace for the editable composition.

The white silhouette illustrates a visibility mask; the visible subject and its mask are separate inputs.

The white silhouette illustrates a visibility mask; the visible subject and its mask are separate inputs.

Part 1. Benefits of Image Masking

Use a mask when you want to change an image’s visible boundary while retaining room to adjust its composition. For example, a profile card may need a circular avatar now and a wider crop later. Keeping the original photograph behind a mask lets you revisit the framing.

1. Hides or reveals any portion

A mask reveals a chosen area and conceals the rest. A vector shape produces a geometric boundary, while a transparent image can supply an irregular outline. To isolate hair or another detailed subject, you need an appropriate transparency mask or a separate background-removal workflow first; a rectangle alone cannot identify the subject.

2. Edits multiple design elements

A mask can control the visibility of several layers within its scope. That is useful when a background photograph and a texture should share one silhouette. Group the intended layers and check the result before adding more: unrelated siblings can become masked if their layer order places them in the same mask group.

3. Easy to implement

Because masking preserves the covered content, you can reposition a photograph, resize the boundary, or remove the mask and recover the full image. This makes crop revisions reversible. The result still depends on the resolution of the source photograph; enlarging a vector boundary does not add detail to a small bitmap.

Part 2. Types of Image Masking

The following categories describe common masking approaches across graphics tools. They are not three identical menu options in every editor. In particular, Figma exposes Alpha, Vector, and Luminance mask types; a pixel editor’s painted layer mask is a different editing model.

#1 Layer Masking

In a pixel editor, a layer mask typically stores visibility values separately from the image. Painting or refining that mask can reveal a face while concealing its background, with intermediate values producing partial transparency. The original image remains available while you adjust the mask’s edge.

Pros
  • Useful for refining detailed edges without permanently erasing the source image.
  • Supports soft transitions when blending images or assembling a collage.
Cons
  • The mask’s resolution matters: a low-resolution pixel mask can expose rough edges when enlarged.
  • Fine selections can take time to refine; preserve the editable mask so later corrections remain possible.

#2 Vector Masking

A vector mask uses a shape or path to define the visible boundary. It suits circles, rounded cards, custom silhouettes, and other clean outlines. A clipping path is a related concept, but names and opacity behavior vary by application; choose the actual mask type offered by the tool you are using.

Pros
  • Good for cropping an image into a clear geometric boundary.
  • Can use a custom path when a standard rectangle or circle is insufficient.
  • The path can be resized and edited without turning its boundary into a low-resolution bitmap.
Cons
  • A simple path is poorly suited to soft hair, smoke, and other partially transparent edges.
  • It does not automatically detect a photograph’s background or improve the image’s resolution.

#3 Alpha Channel Masking

An alpha channel stores transparency. When it controls a mask, opaque areas reveal the masked content, transparent areas conceal it, and partial transparency creates a partial reveal. A cut-out portrait can therefore act as a silhouette mask for a landscape image. An opaque portrait photograph will instead contribute its rectangular boundary unless its background has first been removed.

Pros
  • Useful when the source already has the transparency needed for an irregular outline.
  • Can retain partially transparent edges rather than forcing every pixel to be fully visible or invisible.
  • Lets the mask’s opacity vary the amount of image that is revealed.
Cons
  • Not a universally more advanced choice: a circle is simpler and more predictable for a standard avatar.
  • Preparing clean transparency can require separate image editing, especially around hair or low-contrast edges.

Part 3. How to Mask an Image

The Pixso example below fills a portrait silhouette with a landscape. Prepare two separate inputs: a landscape image and a portrait whose surrounding background is transparent. The screenshots show the composition and layer order; the mask operation itself does not create the cut-out portrait.

Use the Pixso UI design workspace to arrange the image layers alongside the interface where the result will be used. Keep a copy of the unmasked inputs outside the working group until you have checked the result.

For this example, the desired output is the landscape visible only within the person’s outline. If you only need a circular profile picture, skip the silhouette preparation and use a circle as the bottom mask layer instead.

Try Pixso for Free pixso arrow

Pixso’s mask instructions describe placing the mask behind the affected objects and creating the mask from the selection. Apply that rule to the two prepared images:

Step 1. Place the landscape on the canvas using the image tool shown in the toolbar. Make it large enough to cover the intended silhouette, while keeping sufficient resolution for the final display size.

Place the landscape image first; it supplies the picture that will appear inside the silhouette.

Place the landscape image first; it supplies the picture that will appear inside the silhouette.

Step 2. Add the portrait with a transparent background. If it still has an opaque rectangular background, prepare a cut-out image first or use a simple shape for a geometric crop. Do not expect the mask command to distinguish the person from the background.

Add the portrait separately. An irregular silhouette requires transparency around the subject; an opaque photo produces a rectangular boundary.

Add the portrait separately. An irregular silhouette requires transparency around the subject; an opaque photo produces a rectangular boundary.

Step 3. In the Layers panel, move the portrait below the landscape. The portrait will define the visible outline; the landscape above it supplies the image that appears inside that outline. Check that both overlap in the intended area.

Place the portrait mask below the landscape in the Layers panel.

Place the portrait mask below the landscape in the Layers panel.

Step 4. Select the two layers and choose Create mask from the context menu or top toolbar. Select the landscape within the resulting group to adjust its composition. If nothing appears, check overlap, visibility, and mask opacity; if you see a rectangle, check the portrait’s transparency. To undo the masking relationship, select the mask and choose Cancel mask.

The masked landscape fills the portrait outline. Reposition the landscape within the group to adjust the composition.

The masked landscape fills the portrait outline. Reposition the landscape within the group to adjust the composition.

Part 4. Bonus - How to Mask an Image in Figma

The next two examples use Figma’s non-destructive masks. The screenshots below show an earlier toolbar arrangement; the current Figma mask guide places Use as mask in the right sidebar’s More options menu. The essential layer order remains the same.

Example 1: Creating avatars using image masks

Step 1. Place a circle beneath the portrait in the Layers panel, with the face overlapping the circle. Include only the circle and portrait in the selection so other interface elements are not accidentally included.

In this earlier Figma interface, the circle is below the portrait before masking.

In this earlier Figma interface, the circle is below the portrait before masking.

Step 2. Choose Use as mask. Figma creates a mask group; select the photograph inside it and move the face into position without moving the circle. Compare the avatar at its actual display size and leave enough room around the subject’s head.

The portrait remains editable inside the circular avatar boundary.

The portrait remains editable inside the circular avatar boundary.

Example 2: Putting an image mask over text

Step 1. Place a text layer beneath the photograph. Use broad letterforms so the picture remains recognizable inside them, and make the photograph cover the whole word. The example keeps the text editable.

Place the text below the photograph so the letters define the visible area.

Place the text below the photograph so the letters define the visible area.

Step 2. Select the photograph and text, then choose Use as mask. Adjust the photograph within the group until the image works across the letters; changing the text will also change the revealed area.

The photograph appears inside the editable letters. Check the heading’s readability at its final size.

The photograph appears inside the editable letters. Check the heading’s readability at its final size.

Check the word at the size readers will actually see. If the image makes the letters difficult to recognize, simplify the photograph, adjust its position, or use ordinary text for essential information. A decorative image-filled heading should not carry meaning that disappears when the image fails to load.

Troubleshoot the Result

What you seeLikely causeWhat to change
A rectangle instead of a silhouetteThe mask image has an opaque background.Use an image with transparency, or replace the mask with a deliberate vector shape.
No image inside the maskThe layers do not overlap, the mask is hidden, or its opacity is zero.Check visibility and opacity, then align the image over the mask.
A nearby label disappearsThe label was included above the mask in the same scope.Move unrelated layers outside the mask group.
A face is cropped after resizingThe image and boundary were resized or moved independently.Select the correct layer inside the group and restore the composition at the target size.

Check the Mask Before Reusing It

For a final pass, inspect the result at its intended size, then move the masked image slightly to confirm that the hidden pixels are still available. Verify that only the intended layers belong to the mask group and that resizing the component does not expose an unwanted edge.

Use the silhouette workflow for an irregular reveal, a geometric mask for a predictable avatar, and a text mask for a decorative heading. Save the editable layers with the design so the next person can adjust the crop instead of rebuilding the image.

Back to top
Share on X
Share on Facebook