Lasso tool: select only visible pixels
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.
Now I want to use the lasso tool to select this particular section of the circle:
But, as you can see, there are transparent pixels selected. What I want is something like this:
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:
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.
- Make selection
- Right click on layer thumbnail and choose Intersect Transparency Mask
Image 1: Animation of intersecting the selection with transparency mask