How to erase a stroke in photoshop upon touch by an eraser tool

Having drawn a line x strokes ago (with brush tool), I want to delete it by moving a tool over it, how do I do that?

The typical eraser just erases a part of it.


You can’t.

Photoshop is a pixel-based application. It stores images by storing the respective colour of each of the image’s pixels, and no (or very little) other data.

That means that every brush stroke you make directly affects pixels, and is stored in Photoshop only as pixels. Photoshop doesn’t see a brush stroke as a single object, it’s just an operation that changed the colour of some pixels.

Hence, as soon as you painted over one stroke with another, the only ways you have to remove the first stroke is your undo states (if present and they go that far back) or a meticulous and time-consuming pixel-based retouching operation.

The functionality you are looking for is object-based painting, where every brush stroke is its own object. This is, theoretically, possible in Adobe Illustrator. Illustrator is an object-oriented application, and there you can edit and re-edit every object you create at a later time. Painting in Illustrator is disrecommended, though. It is possible, but you will need a very heavy rig to be able to compute every of your (tens of?) thousands of brush strokes independently. Also, it is… hard. Object-oriented drawing is not really fit for what painting requires.

My advice would be to live with your mistakes. It’s what offline painters do and have done for centuries. Paint over it. Subtly erase it. Work around it. Be inspired by it. If you can’t hide it, flaunt it.

What you can do, is have one of Photoshop’s strengths work for you: work in layers. Don’t put every brush stroke on a single layer, but collect clusters in their own layers, and group those layers to form objects. That way, retroactive correction is a lot easier.

Source : Link , Question Author : Sebastian Nielsen , Answer Author : Vincent

Leave a Comment