Converting grayscale shades into alpha channel

adobe-photoshop

I have a gray-scale image. I need to convert gray-scale tones to transparency data in alpha channel using Adobe Photoshop. Say if the area is black, then no transparency. The white areas will be converted to full transparent pixels in alpha channel.

How to do it?

Update:

This is sample file, which I made by Fireworks. This sample is a result which I would like to achieve in Photoshop.

Sample

If you open this PNG in Photoshop, you will see what I mean.

Best Answer

Create a totally black layer (raster or vector). Then...

Layer > Add Layer Mask

Will add a totally white mask to your layer. This will be the alpha channel. When you watch channels (by clicking the Channels tab next to Layers) you will see this alpha channel as

Layer 0 Mask

Now you can copy-paste the grayscale image (or any channel) to this and there you have it. Use CTRL + I to invert it.

Related Question