0

I want to select all the pixels from a layer, not only the ones with more than 50% opacity. A Ctrl+click on the layer thumbnail only selects the pixels with more than 50% opacity.

enter image description here EDIT:

The magic wand trick with contiguous checked

enter image description here

EDIT:

The magic wand trick with contiguous un-checked

enter image description here

  • 1
    Photoshop can select layers with below 50% opacity. Not sure why you don't see the selection. But if you fill that selection, you will see the layers with lower opacity still get filled. – AndrewH Oct 2 '18 at 19:26
  • @AndrewH, yes Photoshop selects pixels below 50% opacity, but the selection only shows pixels above 50%. The selection has the same opacity as the original layer. It works perfectly with fill, but I believe the OP wants to create a selection with 100% opacity containing all pixels with more than 0% opacity? – Wolff Oct 2 '18 at 19:36
  • Ok yes weirdly it fills the lines where no selection is shown, why doesnt it show the whole selection ? really weird – Jonas Frey Oct 2 '18 at 19:41
  • because if i select->modify->border... only the shown selection is modified , if i select->modify->expand... also the not visible 'selection' is modified , i dont get whats happening here :0 – Jonas Frey Oct 2 '18 at 19:43
  • 3
    Photoshop shows a "marching ants" line to indicate your selection. But a selection is more complex than just "selected" or "not selected". It has opacity. So it has been chosen to only show what lies below 50% as selected. Otherwise you would have trouble seeing more complicated selections. Maybe you could benefit from using "Quick Mask Mode" (in the bottom of "Tools") where the selection is shown as a red overlay? – Wolff Oct 2 '18 at 19:57
2

Ctrl+A will select everything on a layer. See this:

  • no it selects the whole image not a layers content – Jonas Frey Oct 2 '18 at 19:51
  • @JonasFrey: um, did you try? – usr2564301 Oct 2 '18 at 20:40
  • Exactly. It does select the entire content of a layer, you might be trying to achieve something else (create a mask?) or maybe not fully understanding how to work with a full selection. A CTRL+click selection ignores the transparency of a layer, which creates your problem of only partially selecting the edges of an antialised stroke. Its all here helpx.adobe.com/photoshop/using/making-selections.html – Lucian Oct 2 '18 at 20:52
  • Well not really. This selection would contain all the pixels in that layer (assuming nothing overflows the document), but it doesn't exactly create a selection with nothing but all the filled pixels in the layer. Make this selection and then fill the area and you will fill the whole document. The reason why you may think it selects the pixels in that layer is because, technically you could say that since it sure isn't selecting anything more or anything less... Except the transparency of course. – Joonas Oct 3 '18 at 6:03
  • Certain methods just ignore the transparent whitespace around the filled pixels, but in the end using those methods without even doing this selection would have the same end result. Although admittedly there are exceptions due to how a selection works in general, but that doesn't affect the situation OP was trying to solve. The method OP was using was just fine. He just didn't realize his selection did exactly what he was asking about and that... what he was asking about wasn't really what he wanted. – Joonas Oct 3 '18 at 6:03
2

Here is a method:

  1. Select the layer.
  2. Press W for Magic Wand.
  3. Set the Tolerance to 0 and uncheck Contiguous.
  4. Click somewhere in the transparent area.
  5. Press Shift + Ctrl + I (on PC) or choose Select > Inverse to invert the selection.

Now you have selected everything with an opacity > 0%.

  • this solutions is not working if the pixels of the content are connected and inside the conected pixels are more pixels which i want to select – Jonas Frey Oct 2 '18 at 19:56
  • I have edited my answer. See the 3rd point. – Wolff Oct 2 '18 at 20:00
  • You can also uncheck "Anti-alias" if you want a totally clean selection of pixels. – Wolff Oct 2 '18 at 20:02
  • Good to hear! Then please accept the answer so it can benefit others and I can get my points :-) – Wolff Oct 2 '18 at 20:08
  • @JonasFrey, If aliased selection truly is good enough or exactly what you want, good for you. I just wanted to let you know that, even though, I'm not a hundred percent sure I know what you are doing with the selection, there definitely is a better way to do it. – Joonas Oct 2 '18 at 21:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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