Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a path and I was wondering if it were possible to erase on along this path. Anyone ever heard of such a thing?

share|improve this question
What do you mean, "on along this path"? – Django Reinhardt Aug 8 '11 at 1:32
up vote 1 down vote accepted

There's quite possibly an easier way but one way that springs to mind is:

  • Create a new layer, all white,
  • Stroke your path onto this layer, using the black/grey brush/pen of your choice,
  • Copy this layer to the clipboard (Ctrl + A, Crtl + C)
  • Hide or delete this layer
  • Go to the layer you want to erase the path
  • Enter Quick Mask Mode
  • Paste (Ctrl + V)
  • Exit Quick Mask Mode
  • Convert the selection to a mask (Layer -> Layer mask -> Reveal Selection)

This method has the advantage that you can selctively edit the layer mask in case you do not want to erase along the entire path.

Note: If you want to erase the background using this method, you'll need to promote it to a layer first (Layer -> New -> Layer from background)

share|improve this answer

You can indeed erase along a path. To do so (instructions for CS4):

  1. Select the layer you want to erase content from
  2. Draw a path with the Pen tool
  3. Open the Paths pane (available from the Window menu if it's not visible)
  4. In the top-right corner of the Paths pane is an options menu, click it
  5. Select Stroke Path... from the menu
  6. From the dialog's dropdown select the Eraser tool, click OK

If the result isn't quite what you expect, undo the last action, select the Eraser tool from the toolbar (or hit default hotkey e) and change the brush style and size accordingly, repeat steps 4-6.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.