0

Basically, I would like to make it so that the lighter a pixel is (the more white it has) the more transparent it becomes. Black pixels would be opaque, white pixels would be transparent.

I currently use the slider in blending options on the first tab to get rid of the white and make it transparent but find it works slightly better if I use the magic wand tool with delete.

I figure that there is some blending option out there but there are so many and I'm not sure which to use to achieve my goal.

(Using Photoshop CS6)

  • Hi Matthew. It's unclear what your goal is. ... You could just copy the Black channel and use it as a Layer Mask. If you're blocking out the white, you would Invert it. – Rsiel Apr 10 '15 at 19:21
2

You can load the luminosity of an image as a selection, then create a mask and invert the mask. It sounds to me like you really want luminosity, not "white" data.

  1. Command/Ctrl the RGB Channel Thumbnail in the Channels Panel. To load a selection. (This essentially loads the L channel from the L*A*B data)
  2. Highlight the image layer in the Layer Panel
  3. Click the Add Mask button at the bottom of the Layers Panel
  4. Choose Image > Adjustments > Invert to invert the mask

enter image description here

enter image description here

Done. You can then use some Levels or Curves adjustments to fine tune the mask.

Image from http://www.saltartists.com/goats-on-trees/

  • 1
    So: did you google "goat" or did you have that lying on your desktop? – Yorik Apr 10 '15 at 19:35
  • I googled it. Photo credit goes to saltartists.com/goats-on-trees – Scott Apr 10 '15 at 19:36
2

How to: Convert K values (Black intensity %) to Alpha values (0-255)

Duplicate the original layer.

Deselect the original layer and select the copy.

Convert it to Black and White. (Image --> Adjustments --> Black and White)

Open channels

Duplicate one of the color channels (they should all have the same pixelvalue)

Rename the new channel Alpha.

Return to Layers, delete the black and white layer.

Done.

You now have a new Alpha channel, based on the K value (black intensity) of each pixel. The relation between Alpha and K is: (100% - K value) * 255 = Alpha pixel value.

  • Hi guest, welcome to GDSE and thanks for your answer. If you have any questions, please see the help center or ping one of us in the Graphic Design Chat once your reputation is sufficient (20). Keep contributing and enjoy the site! – Vincent Jun 10 '15 at 8:12
-1

Set the layer blending mode to multiply to make white transparent and to screen mode to make black transparent.

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.