Putting a Photo Inside Text or a Shape

A photo's own Mask button shapes one photo into one of the built-in shapes. Use as mask goes further: any text, shape or SVG art you place on the canvas can be the mask, and everything above it in its group shows only inside it.

Making a mask

  1. Place the mask. Add the text, shape or SVG art that will give the photo its shape. For text, pick a heavy font and open up the letter spacing — thick letters show more of the photo.
  2. Add the photo. New media goes on top, which is where it needs to be. Move and scale it over the mask.
  3. Select both. A tap or click reaches only the piece on top where you tap, so once the photo covers the mask, use Layers: with nothing selected, open Layers, tap ··· → Select, tick the photo and the mask, and close Layers. While part of the mask still shows, Shift-click (mouse) or press and hold then tap (touch screen) works too. See selecting several objects.
  4. Tap Use as mask in the selection toolbar. In the browser and desktop apps, the shortcut is Ctrl + Cmd + M on a Mac and Ctrl + Alt + M elsewhere.

The bottom-most of the selected pieces becomes the mask, and the others show only inside it. Loose pieces are grouped first; a group you select is masked as it is. Either way it is one step in undo.

Use as mask is greyed out unless the bottom-most piece is a text, a shape or SVG art. A photo or a PDF page can't be a mask.

How a mask works

  • It clips what is above it in its group. Anything above the mask in the group's layers shows only inside it. Drag a member below the mask in Layers and it is no longer clipped; drag one above it and it is.
  • It clips by its shape, not its paint. A text masks by its letters, a shape by its path, SVG art by its filled paths — whatever their color, fill, outline or opacity. A shape with no fill still masks by its path. SVG art made only of lines, with nothing filled, masks by its box.
  • Its own fill and outline aren't drawn. Only its shape counts. A drop shadow on the mask is drawn, though: it falls beneath the clipped photo, in the shape of the mask.
  • A clipped member's own outline and shadow are clipped with it.

Editing a masked group

The mask and what it clips form a group, so the group rules apply:

  • One tap selects the whole group, to move, scale, rotate or flip it as one.
  • A second tap selects the member you tapped — say, the photo, to move or scale it inside the letters.
  • The mask is easiest to reach from Layers, where its row is named Mask. Tap the row to select it inside its group. A text mask stays editable: once it is selected, edit it as any text, and its letters show while you type.

Selection, snapping and Position use each member's own box, not the masked area.

Releasing a mask

Select the group and tap Release mask. The photo shows whole again, and the pieces stay grouped until you Ungroup. Ungroup on its own also releases the mask, and so does dragging the mask out of its group in Layers.

  • Hiding the mask in Layers turns it off for now, so the photo shows whole; show it again to bring the mask back. A locked mask still masks.
  • Duplicating the group copies the mask with it. A member copied on its own is copied as an ordinary piece of media.

A border around photo letters

Because a mask's own outline isn't drawn, a border around photo-filled letters takes a second copy of the text:

  1. Style the text and give it an Outside outline.
  2. Duplicate it, select both copies — drag a box across them with a mouse, or tick both in Layers — and use Position → Left and Top, so the two sit exactly on top of each other.
  3. Add the photo, tick it and the upper copy of the text in Layers, and tap Use as mask.

The lower copy's outline now shows around the photo letters, as a border to cut along. Make the text final before you duplicate it, as the two copies are edited separately.

In the export

Masks print exactly as they look on the canvas, on every sheet. In a vector PDF, the edge of a text or shape mask is a sharp vector edge, and a mask's drop shadow is an image beneath it — smooth at any size, as long as it has some blur.