HHiROs Studio

How to Cut Out Objects from a Photo: Magic Wand, Lasso, Polygonal and Magnetic Lasso

Want to cut an object out of a picture and put it on another background? That's what the selection tools are for. The web photo editor has four ways to select, each suited to different situations. In this tutorial we use a practice picture (an apple) to show the steps and when to use which tool. Nothing to install, no account needed.

Open the photo editor → Download the practice picture (apple)

Open the practice picture directly with File → Open Image…. To show the editor in English, choose English in the language menu at the top right.

1. Which tool should I use?

ToolBest for
Magic WandWhen the background or object is mostly one flat color (illustrations, product photos on white)
Lasso SelectWhen a rough shape is fine. Trace freehand with the mouse or pen
Polygonal LassoShapes with many straight edges (boxes, buildings, signs)
Magnetic LassoObjects with clear outlines but complex shapes (people, animals, tools)

2. Select the background with the Magic Wand and cut out the object

  1. Choose the magic wand icon in the toolbar (W key).
  2. Click the background of the picture. Connected areas of nearly the same color are selected.
The Magic Wand clicked on the apple's background; only the background is selected, with a dotted line around the apple
Clicking the background selects the background (inside the dotted line).
  1. Click Select → Invert Selection (Ctrl+Shift+I). Now the apple (with its stem and leaf) is selected instead of the background.
After inverting the selection, the apple, stem and leaf are selected
After inverting, the dotted line follows the apple's shape.
  1. Click Select → Copy Selection to New Layer (Ctrl+J). A new layer with only the apple is created.
  2. In the Layers panel on the right, click the eye icon of the original layer to hide it. Only the apple remains on the checkerboard (transparency).
With the original layer hidden, only the apple remains on a transparent background. The Layers panel shows Layer 1 and the original layer
Done. The checkerboard means transparent.

Now choose File → Export… and PNG to save an image with a transparent background. To keep the layers for later edits, export as PSD.

3. Lasso, Polygonal and Magnetic Lasso share one icon

Press and hold or right-click the lasso icon in the toolbar (it has a small triangle in its corner) to open a list of the three tools.

Right-clicking the lasso icon opens a list: Lasso Select, Polygonal Lasso and Magnetic Lasso
Right-clicking the lasso icon.

The L key selects the lasso tool you used last. Shift+L cycles through the three.

Lasso Select (freehand)

Hold the button down, trace around the object, and release. The selection closes automatically where you release.

Polygonal Lasso

  1. Click to place points around the object. The points are joined by straight lines.
  2. To finish, click the first point (the square marker), double-click, or press Enter.
Placing points with the Polygonal Lasso. A dotted line runs from the last point to the cursor
Polygonal Lasso in progress. The first point shows a square marker.

Magnetic Lasso

As you move the cursor, the line snaps to the object's outline automatically.

  1. Click on the outline to start.
  2. Move the cursor slowly along the outline. The line follows it.
  3. Where the line might slip (corners, for example), click to place a point.
  4. When you've gone all the way around, click the first point, double-click, or press Enter to finish.
The Magnetic Lasso following the left half of the apple's outline
Tracing the outline. Even if your clicks are slightly off, the line follows the edge.
The apple cut out with the Magnetic Lasso; only the base of the stem remains
The result of cutting out with the Magnetic Lasso (just the body of the apple).

4. Zoom in for fine details

For detailed outlines, zoom in before selecting.

5. Reselect, add and subtract

The top bar has New / Add / Subtract buttons (shown when a selection tool is active).

To…Do this
Start over (replace the current selection)Choose New and select
Add to the selectionChoose Add, or hold Shift while selecting
Subtract from the selectionChoose Subtract, or hold Alt while selecting
DeselectEsc or Ctrl+D, or Select → Deselect

A common pitfall: if Add stays switched on, every new selection is added to the old one and you can't start over. Switch back to New. This setting is remembered the next time you open the editor.

6. Troubleshooting

The Magic Wand selects part of the object too

Lower the tolerance. If the object and background colors are still too close, switch to the Magnetic Lasso.

Patches of background remain after using the Magic Wand

Raise the tolerance, or add the remaining parts with Add (Shift+click).

The Magnetic Lasso doesn't follow the edge well

Place points more often where the edge is weak, and try adjusting Width.

Background color remains around the edge of the cut-out

The selection may extend slightly outside the object. Zoom in and place the points again, or trim the outside with Subtract (Alt).

I made a mistake

Ctrl+Z undoes and Ctrl+Shift+Z redoes.

7. Save your work

To use only the cut-out object, choose File → Export… and PNG (transparent background). To continue later, use PSD or Save Project so the layers are kept. Always keep the original file of important images.

For more, see Web Photo Editor, How to Use Layers and Masks and How to Add Text to a Photo.

Open the photo editor →