I would like to turn a grayscale image into a transparent image where:

  • #000000 (black) → turns into → #000000 (black) 0% transparency

  • #FFFFFF (white) → turns into → #000000 (black) 100% transparency

Example image of a grayscale gradient (on the left) and desired result (on the right).

How can I do this in Photoshop?

enter image description here

  • Load any of the channels as alpha. Hide your layer make new layer fill with black.done.
    – joojaa
    Feb 28, 2021 at 21:52

1 Answer 1

  • Go to the Channels panel.
  • Hold Ctrl / Cmd and left-click the Gray channel to make a selection.
  • Press Shift + Ctrl / Cmd + I to inverse the selection.
  • Go to the Layers panel.
  • Click the Create a new layer button.
  • Make sure the foreground color is black.
  • Press Alt + Backspace to fill the selection with black.
  • Press Ctrl / Cmd + D to deselect.
  • Delete the Background layer.

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.