Advertisement


Lasso tool: select only visible pixels


Question

Give a layer with some brush drawings, I want to use the lasso tool to select some parts of my drawing. However, I want the selection to only contain visible pixels. As it is now, the lasso tool's selection will contain the entire selection, regardless of there being transparent or visible pixels. Is this possible?

Look at this drawing: I have two layers. One is the background and another is the black circle.

enter image description here

Now I want to use the lasso tool to select this particular section of the circle:

enter image description here

But, as you can see, there are transparent pixels selected. What I want is something like this:

enter image description here

In other words, I want the selection area to only make use of pixels that are visible... Using the lasso tool.


Since you insist on asking me why I want to achieve this, it is because I have a drawing I want to shade using gradients on specific parts. For example, I want to shade half of the left leg of this character:

enter image description here

So I use the lasso tool. But if I apply the gradient, it will also fill the area outside her leg.

I am aware that I could make a mask of her body so that the gradient will not overflow outside her leg. However, given my workflow, it would be a lot more efficient and easy if I could just configure the lasso tool to only grab visible pixels. This is the reason I want to achieve this: for efficiency/commodity.

Photoshop CC 2014, Mac OSX.

2015/06/01
1
0
6/1/2015 10:10:00 AM

Do this:

  1. Make selection
  2. Right click on layer thumbnail and choose Intersect Transparency Mask

enter image description here

Image 1: Animation of intersecting the selection with transparency mask

2015/06/01
1
6/1/2015 11:50:00 AM