Mobile app version of vmapp.org
Login or Join
Correia448

: 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

@Correia448

Posted in: #AdobePhotoshop

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.

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Correia448

3 Comments

Sorted by latest first Latest Oldest Best

 

@Speyer780

So I stumbled upon this post with the same exact question, and I figured out another way while trying the other answers.

Here's what you do:


Make your selection any way you want; marquee, lasso, whatever.
Switch to the move tool (v)
Move your selection with the arrow keys any direction.


Your selection will refine to exclude transparent pixels! Yay!

10% popularity Vote Up Vote Down


 

@Caterina889

There are many ways to alter a layer with transparency without altering the transparency.....

Which one you use depends upon your desired result and workflow.


Clipping Masks:

Command/Ctrl-Clicking the layer thumbnail to load it as a selection, then using a new layer:
This method only selects the non-transparent pixels.
A layer mask on a new layer:

Layer Styles:



I think the least efficient way is #2 -- using selections.

Also be aware if you create a selection which contains transparent areas copying, duplicating, transforming, etc all ignore the transparent pixels. It is only when you attempt to fill a selection that any transparency may be covered depending upon your selection method.

10% popularity Vote Up Vote Down


 

@Gail6891361

Do this:


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




Image 1: Animation of intersecting the selection with transparency mask

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme