Skip to content
OpenPostDocs
OpenPostDocs

Select and paint pixels

Select part of an image, then erase, fill, paint, move or copy just those pixels, and merge layers into one image.

Pixel tools work inside a layer: lasso out a stray cable, erase a white box around a logo, or paint an arrow over a screenshot.

Select pixels

Pick a selection tool from the select group in the left rail or the Tools menu:

ToolKeyUse it to
Rectangle selectMDrag a box.
Ellipse select⇧ MDrag an oval.
Lasso selectLDraw around a shape freehand.
Polygonal lasso⇧ LClick corner points. Double-click or press Enter to close, ⌫ to remove the last point.
Magic selectWClick a color to select similar pixels. Set Tolerance, Contiguous and Sample all layers.

To build up a selection, set Selection mode to New, Add, Subtract or Intersect, or hold a key while you drag: ⇧ adds (with the lasso and magic tools), ⌥ subtracts, and ⇧ ⌥ intersects.

Select → Grow by 1 px, Shrink by 1 px and Invert selection (⇧ ⌘ I) refine it. Select layer alpha selects exactly the visible pixels of a layer, such as the outline of a cut-out product.

Press Escape or ⌘ D to clear the selection.

Work with the selection

With pixels selected:

  • Delete or ⌫ deletes them.
  • New layer from selection copies them onto their own layer, so you can move or style that part alone.
  • Cut selected pixels lifts them out of the layer so you can move them somewhere else.
  • Arrow keys nudge the selected area by 1 pixel, or 10 with ⇧.

Copied or cut pixels float with their own handles. Drag, resize or rotate them, and choose Duplicate (⌘ J) to stamp another copy. Press Enter to apply or Escape to cancel.

Paint, fill and erase

ToolKeyWhat it does
PencilB or PDraws a stroke as a new paint layer. Set Size, Roughness, Smoothing, Opacity and Pen pressure.
EraserEErases pixels from the selected image or paint layer.
Magic eraser⇧ EErases a whole area of similar color with one click, such as a white background.
Paint bucket⇧ GFills an area of similar color with the paint color.
GradientGDrag to paint a gradient. Pick Linear, Radial, Angle, Reflected or Diamond, and Reverse to flip it.

Set the Foreground color for the pencil and bucket, or a Start color and End color for the gradient, with a button to swap them. Hold ⌥ and click with the pencil, bucket or gradient to pick up a color from the page.

When pixels are selected, painting and erasing stay inside the selection. If a stroke falls completely outside it, nothing is drawn and the editor tells you so. Clear the selection to paint anywhere.

Erased parts of an image aren't lost. Select the image and choose Restore erased image areas in Properties to bring them back.

Pick a color with the eyedropper

  1. Press I, or choose Eyedropper in the left rail.

    The options bar shows where the color goes.

  2. Choose a target under Apply sampled color to.

    Paint color, Selected fill or text, Selected stroke or Page background.

  3. Choose Sample from.

    Composite page takes the color you see. Active layer ignores what's on top.

  4. Click the color on the canvas.

    With the keyboard, move the target with the arrow keys and press Enter. Escape cancels.

Combine layers

The bottom of the Layer menu turns editable layers into plain image pixels:

  • Rasterize to image turns the selected text or shapes into an image you can erase or paint over.
  • Merge down combines the selected layer with the one below it.
  • Merge selected combines the selected layers.
  • Flatten page combines everything on the page into one image layer.

Merging needs visible, unlocked layers next to each other in the same group, with Normal blending. Flatten page needs every layer unlocked. Hover a greyed-out command to see what's missing. ⌘ Z restores the editable layers.

If a pixel tool does nothing
  • If a message says the target is locked, unlock the layer or its group in Layers.
  • If Magic eraser asks for a target, select an unlocked image or paint layer first.
  • If a scan stops at a size limit, resize the design or select a smaller layer.
  • If Magic select finds nothing, click a visible, editable part of the page.

On this page