0

I have an image with a transparent background and a layer that has black pixels I want to remove:

enter image description here

If I set the layer w/ black pixels to Screen in Photoshop against a filled background, the black pixels are removed. But I obviously can't Screen the black pixels out against a transparent background.

So my question is... how can I remove the black pixels as cleanly as using Screen blend, but keep the transparent background?

enter image description here

1 Answer 1

2

An easy way of doing this is to use the Blend If function in the layer's Blending Options.

Double-click the layer (not the name), and you will enter that layer's Layer Style.

Focus on the Blend If options in the bottom. This enables you to make any layer transparent in specific lightness ranges (Gray) or in each of the Red, Green and Blue channels.

For this we only need to change the settings for Gray. If we move the black slider a tiny bit to the right and set the lower clip limit to 1 we actually remove most of the black, but the edge is too harsh - there is no transition.

Then we can alt-click the right side of the slider to split it in two and then drag it to create the transition we want.

As you might imagine, this tool can be very helpful for lots of stuff. It can also be used on adjustment layers so it only affects certain ranges or it can be used to mix the dark part of an image with the light part of another etc.

Edit: A variation

Create an "indented" Black & White adjustment layer and choose the preset Neutral density. Set the blend mode to Difference.

Add an "indented" Invert adjustment layer on top. Now we have removed all black and neutral colors from the image.

Now you can use Blend If to remove the whites and maybe get a result closer to what you want.

4
  • Thank you for the answer. The issue I'm having with Blend If is that I can't get the same low noise that I get from using Screen. Blend If either has too much noise or cuts off too much of the color I want to keep.
    – eclipsis
    Commented Apr 26, 2019 at 17:39
  • How can you tell it's cleaner with screen when you only ever see the effect on top of a background color? The gray parts you don't like blends into the gray background in your example.
    – Wolff
    Commented Apr 26, 2019 at 17:42
  • Ok, I'll add a variation to the solution which you might like.
    – Wolff
    Commented Apr 26, 2019 at 17:59
  • Edit: Nevermind, just realized clipping mask.
    – eclipsis
    Commented Apr 26, 2019 at 18:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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