Converting grayscale shades into alpha channel












20















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.










share|improve this question

























  • From what you said, you don't want an Alpha Channel, you need a Layer Mask. Please see my updated answer.

    – Django Reinhardt
    May 20 '11 at 12:51






  • 1





    Actually I need alpha, but please give me some more time to verify your answer and get back to you. What I want is exist in Adobe Fireworks... but not Photoshop.

    – Pablo
    May 21 '11 at 14:22











  • Well I gave you the Alpha Channel, but you decided it wasn't what you wanted. I'd suggest giving the Layer Mask option a go, as this has the effects you say you desire.

    – Django Reinhardt
    May 25 '11 at 13:16
















20















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.










share|improve this question

























  • From what you said, you don't want an Alpha Channel, you need a Layer Mask. Please see my updated answer.

    – Django Reinhardt
    May 20 '11 at 12:51






  • 1





    Actually I need alpha, but please give me some more time to verify your answer and get back to you. What I want is exist in Adobe Fireworks... but not Photoshop.

    – Pablo
    May 21 '11 at 14:22











  • Well I gave you the Alpha Channel, but you decided it wasn't what you wanted. I'd suggest giving the Layer Mask option a go, as this has the effects you say you desire.

    – Django Reinhardt
    May 25 '11 at 13:16














20












20








20


9






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.










share|improve this question
















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.







adobe-photoshop






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 20 '11 at 4:13









3498DB

15.8k114862




15.8k114862










asked Aug 7 '10 at 16:27









PabloPablo

2,303165091




2,303165091













  • From what you said, you don't want an Alpha Channel, you need a Layer Mask. Please see my updated answer.

    – Django Reinhardt
    May 20 '11 at 12:51






  • 1





    Actually I need alpha, but please give me some more time to verify your answer and get back to you. What I want is exist in Adobe Fireworks... but not Photoshop.

    – Pablo
    May 21 '11 at 14:22











  • Well I gave you the Alpha Channel, but you decided it wasn't what you wanted. I'd suggest giving the Layer Mask option a go, as this has the effects you say you desire.

    – Django Reinhardt
    May 25 '11 at 13:16



















  • From what you said, you don't want an Alpha Channel, you need a Layer Mask. Please see my updated answer.

    – Django Reinhardt
    May 20 '11 at 12:51






  • 1





    Actually I need alpha, but please give me some more time to verify your answer and get back to you. What I want is exist in Adobe Fireworks... but not Photoshop.

    – Pablo
    May 21 '11 at 14:22











  • Well I gave you the Alpha Channel, but you decided it wasn't what you wanted. I'd suggest giving the Layer Mask option a go, as this has the effects you say you desire.

    – Django Reinhardt
    May 25 '11 at 13:16

















From what you said, you don't want an Alpha Channel, you need a Layer Mask. Please see my updated answer.

– Django Reinhardt
May 20 '11 at 12:51





From what you said, you don't want an Alpha Channel, you need a Layer Mask. Please see my updated answer.

– Django Reinhardt
May 20 '11 at 12:51




1




1





Actually I need alpha, but please give me some more time to verify your answer and get back to you. What I want is exist in Adobe Fireworks... but not Photoshop.

– Pablo
May 21 '11 at 14:22





Actually I need alpha, but please give me some more time to verify your answer and get back to you. What I want is exist in Adobe Fireworks... but not Photoshop.

– Pablo
May 21 '11 at 14:22













Well I gave you the Alpha Channel, but you decided it wasn't what you wanted. I'd suggest giving the Layer Mask option a go, as this has the effects you say you desire.

– Django Reinhardt
May 25 '11 at 13:16





Well I gave you the Alpha Channel, but you decided it wasn't what you wanted. I'd suggest giving the Layer Mask option a go, as this has the effects you say you desire.

– Django Reinhardt
May 25 '11 at 13:16










5 Answers
5






active

oldest

votes


















8














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.






share|improve this answer


























  • How did my answer not give you the exact same result??

    – Django Reinhardt
    May 30 '11 at 2:00













  • This answer is outdated. Can someone correct to the new version of photoshop?

    – AzulShiva
    Jun 7 '17 at 7:53











  • @AzulShiva You can, just propose an edit.

    – vbence
    Jun 7 '17 at 14:30



















17














Ok, this is very easy.




  1. Go to the CHANNELS tab.

  2. You should see "Gray" next to the thumbnail of the image you want (if you don't see "Gray", then your image is not grayscale).


  3. Ctrlclick (or click, if you're on a Mac) on the thumbnail image next to "Gray". This will select all the white areas of the image.

  4. While the white areas remain selected, go back to the LAYERS tab and select the layer with your image on it.

  5. Now go to the top menu and select: Layer > Layer Mask > Hide Selection. If "Layer Mask" is not selectable, then make sure your image layer isn't set to background (if it is, double click on it, and then click "OK" in the window that opens. It should now be set to "Layer 0").


All white areas will now be transparent in Photoshop.



Here's an image done with the above technique:



image edited with the above technique






share|improve this answer


























  • I've got the negative version. However, the image is not transparent. What I was expecting is to see background image transparently on white areas when I bring this grayscale image on top of other. This is not happening. Also I was expecting on the grayscale image itself to see the default photohop background transparency grid.

    – Pablo
    May 17 '11 at 16:17











  • I see. I think you phrased your question wrong, then. You don't want an Alpha Channel, you want a Layer Mask. I'll update my answer for you.

    – Django Reinhardt
    May 17 '11 at 19:54













  • note that, if you save this file with layer mask as a standard tiff without layers, the transparency will be lost, and the transparent portions described by the mask will be white. (With tiff, the alpha is a channel). So the method you use depends on the desired result file.

    – horatio
    May 17 '11 at 20:49













  • horatio, that simply isn't true at all. Simply ensure that "Save transparency" is enabled in the "TIFF Options" window when you save, and the transparency from the Layer Mask will be saved, even when you choose "Discard layers". Don't believe me? Try it for yourself.

    – Django Reinhardt
    May 17 '11 at 21:02





















3














the program GIMP (its free to use and download and similar to photoshop) has a very simple way of doing exactly what you are asking for without a lot of picking and masking. I know this because I learned photo editing and painting on GIMP before I went to photoshop and was shocked that photoshop didn't have this fast and easy way of taking all the white, grey out and keeping a smooth look to the the black without a lot of steps.



When you are in GIMP the process is as follows:



1 Open your document (i.e. black and white photo)
2. Right click on the photo in layer menu select "add Alpha channel"
3. Go to the Color Menu at top and select "Color to Alpha" a window appears showing the color and hit okay.
That's it. Your done. Takes like one minute.



You can save it as a photoshop file or anything else
Also The color picked is defaulted to white on black and whites but you can color pick any color you want. It doesn't leave a bunch of ragged edges.






share|improve this answer
























  • Many thanks. I was struggling to get PhotoShop to cooperate with the other answers, but GIMP did a decent job this time (was on the verge of writing a script to do it - waste of time for one image!).

    – PeterT
    Dec 5 '15 at 11:27



















0














In Paint.NET




  1. Download and install "BoltBait's Plugin Pack" from here

  2. Effects menu -> Object -> Switch Gray to Alpha...

  3. When asked, "Switch gray to alpha by deleting", select white.






share|improve this answer































    0














    Here's the CORRECT answer for you:



    The suggestions above about creating an Alpha channel and then using it to create a layer mask are correct, however they're missing the crucial final ingredient. The result you get from the above does have transparency, however the pixels are still greyscale so a shadow effect against a coloured background will look weird.



    You need to add a COLOUR OVERLAY to your layer and set it to BLACK. Thereby all the pixels still retain their transparency but are now black. This means you can have a transparent PNG with a shadow - no multiply effect required.



    Hope this finally helps!






    share|improve this answer
























    • It seems almost like you’re saying “X2 would be a better question, and the above answers to Question X are not complete answers to Question X2.”  That’s not a valid reason for you to throw shade [har har] on the other answers.  The OP never said anything about wanting to create a shadow effect, and didn’t report any such problem with the older answers.

      – Scott
      Feb 26 at 23:17












    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f173194%2fconverting-grayscale-shades-into-alpha-channel%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    5 Answers
    5






    active

    oldest

    votes








    5 Answers
    5






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    8














    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.






    share|improve this answer


























    • How did my answer not give you the exact same result??

      – Django Reinhardt
      May 30 '11 at 2:00













    • This answer is outdated. Can someone correct to the new version of photoshop?

      – AzulShiva
      Jun 7 '17 at 7:53











    • @AzulShiva You can, just propose an edit.

      – vbence
      Jun 7 '17 at 14:30
















    8














    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.






    share|improve this answer


























    • How did my answer not give you the exact same result??

      – Django Reinhardt
      May 30 '11 at 2:00













    • This answer is outdated. Can someone correct to the new version of photoshop?

      – AzulShiva
      Jun 7 '17 at 7:53











    • @AzulShiva You can, just propose an edit.

      – vbence
      Jun 7 '17 at 14:30














    8












    8








    8







    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.






    share|improve this 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.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited May 26 '11 at 18:28

























    answered May 26 '11 at 13:13









    vbencevbence

    446821




    446821













    • How did my answer not give you the exact same result??

      – Django Reinhardt
      May 30 '11 at 2:00













    • This answer is outdated. Can someone correct to the new version of photoshop?

      – AzulShiva
      Jun 7 '17 at 7:53











    • @AzulShiva You can, just propose an edit.

      – vbence
      Jun 7 '17 at 14:30



















    • How did my answer not give you the exact same result??

      – Django Reinhardt
      May 30 '11 at 2:00













    • This answer is outdated. Can someone correct to the new version of photoshop?

      – AzulShiva
      Jun 7 '17 at 7:53











    • @AzulShiva You can, just propose an edit.

      – vbence
      Jun 7 '17 at 14:30

















    How did my answer not give you the exact same result??

    – Django Reinhardt
    May 30 '11 at 2:00







    How did my answer not give you the exact same result??

    – Django Reinhardt
    May 30 '11 at 2:00















    This answer is outdated. Can someone correct to the new version of photoshop?

    – AzulShiva
    Jun 7 '17 at 7:53





    This answer is outdated. Can someone correct to the new version of photoshop?

    – AzulShiva
    Jun 7 '17 at 7:53













    @AzulShiva You can, just propose an edit.

    – vbence
    Jun 7 '17 at 14:30





    @AzulShiva You can, just propose an edit.

    – vbence
    Jun 7 '17 at 14:30













    17














    Ok, this is very easy.




    1. Go to the CHANNELS tab.

    2. You should see "Gray" next to the thumbnail of the image you want (if you don't see "Gray", then your image is not grayscale).


    3. Ctrlclick (or click, if you're on a Mac) on the thumbnail image next to "Gray". This will select all the white areas of the image.

    4. While the white areas remain selected, go back to the LAYERS tab and select the layer with your image on it.

    5. Now go to the top menu and select: Layer > Layer Mask > Hide Selection. If "Layer Mask" is not selectable, then make sure your image layer isn't set to background (if it is, double click on it, and then click "OK" in the window that opens. It should now be set to "Layer 0").


    All white areas will now be transparent in Photoshop.



    Here's an image done with the above technique:



    image edited with the above technique






    share|improve this answer


























    • I've got the negative version. However, the image is not transparent. What I was expecting is to see background image transparently on white areas when I bring this grayscale image on top of other. This is not happening. Also I was expecting on the grayscale image itself to see the default photohop background transparency grid.

      – Pablo
      May 17 '11 at 16:17











    • I see. I think you phrased your question wrong, then. You don't want an Alpha Channel, you want a Layer Mask. I'll update my answer for you.

      – Django Reinhardt
      May 17 '11 at 19:54













    • note that, if you save this file with layer mask as a standard tiff without layers, the transparency will be lost, and the transparent portions described by the mask will be white. (With tiff, the alpha is a channel). So the method you use depends on the desired result file.

      – horatio
      May 17 '11 at 20:49













    • horatio, that simply isn't true at all. Simply ensure that "Save transparency" is enabled in the "TIFF Options" window when you save, and the transparency from the Layer Mask will be saved, even when you choose "Discard layers". Don't believe me? Try it for yourself.

      – Django Reinhardt
      May 17 '11 at 21:02


















    17














    Ok, this is very easy.




    1. Go to the CHANNELS tab.

    2. You should see "Gray" next to the thumbnail of the image you want (if you don't see "Gray", then your image is not grayscale).


    3. Ctrlclick (or click, if you're on a Mac) on the thumbnail image next to "Gray". This will select all the white areas of the image.

    4. While the white areas remain selected, go back to the LAYERS tab and select the layer with your image on it.

    5. Now go to the top menu and select: Layer > Layer Mask > Hide Selection. If "Layer Mask" is not selectable, then make sure your image layer isn't set to background (if it is, double click on it, and then click "OK" in the window that opens. It should now be set to "Layer 0").


    All white areas will now be transparent in Photoshop.



    Here's an image done with the above technique:



    image edited with the above technique






    share|improve this answer


























    • I've got the negative version. However, the image is not transparent. What I was expecting is to see background image transparently on white areas when I bring this grayscale image on top of other. This is not happening. Also I was expecting on the grayscale image itself to see the default photohop background transparency grid.

      – Pablo
      May 17 '11 at 16:17











    • I see. I think you phrased your question wrong, then. You don't want an Alpha Channel, you want a Layer Mask. I'll update my answer for you.

      – Django Reinhardt
      May 17 '11 at 19:54













    • note that, if you save this file with layer mask as a standard tiff without layers, the transparency will be lost, and the transparent portions described by the mask will be white. (With tiff, the alpha is a channel). So the method you use depends on the desired result file.

      – horatio
      May 17 '11 at 20:49













    • horatio, that simply isn't true at all. Simply ensure that "Save transparency" is enabled in the "TIFF Options" window when you save, and the transparency from the Layer Mask will be saved, even when you choose "Discard layers". Don't believe me? Try it for yourself.

      – Django Reinhardt
      May 17 '11 at 21:02
















    17












    17








    17







    Ok, this is very easy.




    1. Go to the CHANNELS tab.

    2. You should see "Gray" next to the thumbnail of the image you want (if you don't see "Gray", then your image is not grayscale).


    3. Ctrlclick (or click, if you're on a Mac) on the thumbnail image next to "Gray". This will select all the white areas of the image.

    4. While the white areas remain selected, go back to the LAYERS tab and select the layer with your image on it.

    5. Now go to the top menu and select: Layer > Layer Mask > Hide Selection. If "Layer Mask" is not selectable, then make sure your image layer isn't set to background (if it is, double click on it, and then click "OK" in the window that opens. It should now be set to "Layer 0").


    All white areas will now be transparent in Photoshop.



    Here's an image done with the above technique:



    image edited with the above technique






    share|improve this answer















    Ok, this is very easy.




    1. Go to the CHANNELS tab.

    2. You should see "Gray" next to the thumbnail of the image you want (if you don't see "Gray", then your image is not grayscale).


    3. Ctrlclick (or click, if you're on a Mac) on the thumbnail image next to "Gray". This will select all the white areas of the image.

    4. While the white areas remain selected, go back to the LAYERS tab and select the layer with your image on it.

    5. Now go to the top menu and select: Layer > Layer Mask > Hide Selection. If "Layer Mask" is not selectable, then make sure your image layer isn't set to background (if it is, double click on it, and then click "OK" in the window that opens. It should now be set to "Layer 0").


    All white areas will now be transparent in Photoshop.



    Here's an image done with the above technique:



    image edited with the above technique







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Feb 8 '13 at 17:31









    Andrew Marshall

    3551215




    3551215










    answered May 15 '11 at 5:37









    Django ReinhardtDjango Reinhardt

    3,01184381




    3,01184381













    • I've got the negative version. However, the image is not transparent. What I was expecting is to see background image transparently on white areas when I bring this grayscale image on top of other. This is not happening. Also I was expecting on the grayscale image itself to see the default photohop background transparency grid.

      – Pablo
      May 17 '11 at 16:17











    • I see. I think you phrased your question wrong, then. You don't want an Alpha Channel, you want a Layer Mask. I'll update my answer for you.

      – Django Reinhardt
      May 17 '11 at 19:54













    • note that, if you save this file with layer mask as a standard tiff without layers, the transparency will be lost, and the transparent portions described by the mask will be white. (With tiff, the alpha is a channel). So the method you use depends on the desired result file.

      – horatio
      May 17 '11 at 20:49













    • horatio, that simply isn't true at all. Simply ensure that "Save transparency" is enabled in the "TIFF Options" window when you save, and the transparency from the Layer Mask will be saved, even when you choose "Discard layers". Don't believe me? Try it for yourself.

      – Django Reinhardt
      May 17 '11 at 21:02





















    • I've got the negative version. However, the image is not transparent. What I was expecting is to see background image transparently on white areas when I bring this grayscale image on top of other. This is not happening. Also I was expecting on the grayscale image itself to see the default photohop background transparency grid.

      – Pablo
      May 17 '11 at 16:17











    • I see. I think you phrased your question wrong, then. You don't want an Alpha Channel, you want a Layer Mask. I'll update my answer for you.

      – Django Reinhardt
      May 17 '11 at 19:54













    • note that, if you save this file with layer mask as a standard tiff without layers, the transparency will be lost, and the transparent portions described by the mask will be white. (With tiff, the alpha is a channel). So the method you use depends on the desired result file.

      – horatio
      May 17 '11 at 20:49













    • horatio, that simply isn't true at all. Simply ensure that "Save transparency" is enabled in the "TIFF Options" window when you save, and the transparency from the Layer Mask will be saved, even when you choose "Discard layers". Don't believe me? Try it for yourself.

      – Django Reinhardt
      May 17 '11 at 21:02



















    I've got the negative version. However, the image is not transparent. What I was expecting is to see background image transparently on white areas when I bring this grayscale image on top of other. This is not happening. Also I was expecting on the grayscale image itself to see the default photohop background transparency grid.

    – Pablo
    May 17 '11 at 16:17





    I've got the negative version. However, the image is not transparent. What I was expecting is to see background image transparently on white areas when I bring this grayscale image on top of other. This is not happening. Also I was expecting on the grayscale image itself to see the default photohop background transparency grid.

    – Pablo
    May 17 '11 at 16:17













    I see. I think you phrased your question wrong, then. You don't want an Alpha Channel, you want a Layer Mask. I'll update my answer for you.

    – Django Reinhardt
    May 17 '11 at 19:54







    I see. I think you phrased your question wrong, then. You don't want an Alpha Channel, you want a Layer Mask. I'll update my answer for you.

    – Django Reinhardt
    May 17 '11 at 19:54















    note that, if you save this file with layer mask as a standard tiff without layers, the transparency will be lost, and the transparent portions described by the mask will be white. (With tiff, the alpha is a channel). So the method you use depends on the desired result file.

    – horatio
    May 17 '11 at 20:49







    note that, if you save this file with layer mask as a standard tiff without layers, the transparency will be lost, and the transparent portions described by the mask will be white. (With tiff, the alpha is a channel). So the method you use depends on the desired result file.

    – horatio
    May 17 '11 at 20:49















    horatio, that simply isn't true at all. Simply ensure that "Save transparency" is enabled in the "TIFF Options" window when you save, and the transparency from the Layer Mask will be saved, even when you choose "Discard layers". Don't believe me? Try it for yourself.

    – Django Reinhardt
    May 17 '11 at 21:02







    horatio, that simply isn't true at all. Simply ensure that "Save transparency" is enabled in the "TIFF Options" window when you save, and the transparency from the Layer Mask will be saved, even when you choose "Discard layers". Don't believe me? Try it for yourself.

    – Django Reinhardt
    May 17 '11 at 21:02













    3














    the program GIMP (its free to use and download and similar to photoshop) has a very simple way of doing exactly what you are asking for without a lot of picking and masking. I know this because I learned photo editing and painting on GIMP before I went to photoshop and was shocked that photoshop didn't have this fast and easy way of taking all the white, grey out and keeping a smooth look to the the black without a lot of steps.



    When you are in GIMP the process is as follows:



    1 Open your document (i.e. black and white photo)
    2. Right click on the photo in layer menu select "add Alpha channel"
    3. Go to the Color Menu at top and select "Color to Alpha" a window appears showing the color and hit okay.
    That's it. Your done. Takes like one minute.



    You can save it as a photoshop file or anything else
    Also The color picked is defaulted to white on black and whites but you can color pick any color you want. It doesn't leave a bunch of ragged edges.






    share|improve this answer
























    • Many thanks. I was struggling to get PhotoShop to cooperate with the other answers, but GIMP did a decent job this time (was on the verge of writing a script to do it - waste of time for one image!).

      – PeterT
      Dec 5 '15 at 11:27
















    3














    the program GIMP (its free to use and download and similar to photoshop) has a very simple way of doing exactly what you are asking for without a lot of picking and masking. I know this because I learned photo editing and painting on GIMP before I went to photoshop and was shocked that photoshop didn't have this fast and easy way of taking all the white, grey out and keeping a smooth look to the the black without a lot of steps.



    When you are in GIMP the process is as follows:



    1 Open your document (i.e. black and white photo)
    2. Right click on the photo in layer menu select "add Alpha channel"
    3. Go to the Color Menu at top and select "Color to Alpha" a window appears showing the color and hit okay.
    That's it. Your done. Takes like one minute.



    You can save it as a photoshop file or anything else
    Also The color picked is defaulted to white on black and whites but you can color pick any color you want. It doesn't leave a bunch of ragged edges.






    share|improve this answer
























    • Many thanks. I was struggling to get PhotoShop to cooperate with the other answers, but GIMP did a decent job this time (was on the verge of writing a script to do it - waste of time for one image!).

      – PeterT
      Dec 5 '15 at 11:27














    3












    3








    3







    the program GIMP (its free to use and download and similar to photoshop) has a very simple way of doing exactly what you are asking for without a lot of picking and masking. I know this because I learned photo editing and painting on GIMP before I went to photoshop and was shocked that photoshop didn't have this fast and easy way of taking all the white, grey out and keeping a smooth look to the the black without a lot of steps.



    When you are in GIMP the process is as follows:



    1 Open your document (i.e. black and white photo)
    2. Right click on the photo in layer menu select "add Alpha channel"
    3. Go to the Color Menu at top and select "Color to Alpha" a window appears showing the color and hit okay.
    That's it. Your done. Takes like one minute.



    You can save it as a photoshop file or anything else
    Also The color picked is defaulted to white on black and whites but you can color pick any color you want. It doesn't leave a bunch of ragged edges.






    share|improve this answer













    the program GIMP (its free to use and download and similar to photoshop) has a very simple way of doing exactly what you are asking for without a lot of picking and masking. I know this because I learned photo editing and painting on GIMP before I went to photoshop and was shocked that photoshop didn't have this fast and easy way of taking all the white, grey out and keeping a smooth look to the the black without a lot of steps.



    When you are in GIMP the process is as follows:



    1 Open your document (i.e. black and white photo)
    2. Right click on the photo in layer menu select "add Alpha channel"
    3. Go to the Color Menu at top and select "Color to Alpha" a window appears showing the color and hit okay.
    That's it. Your done. Takes like one minute.



    You can save it as a photoshop file or anything else
    Also The color picked is defaulted to white on black and whites but you can color pick any color you want. It doesn't leave a bunch of ragged edges.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Aug 4 '15 at 3:10









    lalalala

    311




    311













    • Many thanks. I was struggling to get PhotoShop to cooperate with the other answers, but GIMP did a decent job this time (was on the verge of writing a script to do it - waste of time for one image!).

      – PeterT
      Dec 5 '15 at 11:27



















    • Many thanks. I was struggling to get PhotoShop to cooperate with the other answers, but GIMP did a decent job this time (was on the verge of writing a script to do it - waste of time for one image!).

      – PeterT
      Dec 5 '15 at 11:27

















    Many thanks. I was struggling to get PhotoShop to cooperate with the other answers, but GIMP did a decent job this time (was on the verge of writing a script to do it - waste of time for one image!).

    – PeterT
    Dec 5 '15 at 11:27





    Many thanks. I was struggling to get PhotoShop to cooperate with the other answers, but GIMP did a decent job this time (was on the verge of writing a script to do it - waste of time for one image!).

    – PeterT
    Dec 5 '15 at 11:27











    0














    In Paint.NET




    1. Download and install "BoltBait's Plugin Pack" from here

    2. Effects menu -> Object -> Switch Gray to Alpha...

    3. When asked, "Switch gray to alpha by deleting", select white.






    share|improve this answer




























      0














      In Paint.NET




      1. Download and install "BoltBait's Plugin Pack" from here

      2. Effects menu -> Object -> Switch Gray to Alpha...

      3. When asked, "Switch gray to alpha by deleting", select white.






      share|improve this answer


























        0












        0








        0







        In Paint.NET




        1. Download and install "BoltBait's Plugin Pack" from here

        2. Effects menu -> Object -> Switch Gray to Alpha...

        3. When asked, "Switch gray to alpha by deleting", select white.






        share|improve this answer













        In Paint.NET




        1. Download and install "BoltBait's Plugin Pack" from here

        2. Effects menu -> Object -> Switch Gray to Alpha...

        3. When asked, "Switch gray to alpha by deleting", select white.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 28 '18 at 20:15









        BalageBalage

        1315




        1315























            0














            Here's the CORRECT answer for you:



            The suggestions above about creating an Alpha channel and then using it to create a layer mask are correct, however they're missing the crucial final ingredient. The result you get from the above does have transparency, however the pixels are still greyscale so a shadow effect against a coloured background will look weird.



            You need to add a COLOUR OVERLAY to your layer and set it to BLACK. Thereby all the pixels still retain their transparency but are now black. This means you can have a transparent PNG with a shadow - no multiply effect required.



            Hope this finally helps!






            share|improve this answer
























            • It seems almost like you’re saying “X2 would be a better question, and the above answers to Question X are not complete answers to Question X2.”  That’s not a valid reason for you to throw shade [har har] on the other answers.  The OP never said anything about wanting to create a shadow effect, and didn’t report any such problem with the older answers.

              – Scott
              Feb 26 at 23:17
















            0














            Here's the CORRECT answer for you:



            The suggestions above about creating an Alpha channel and then using it to create a layer mask are correct, however they're missing the crucial final ingredient. The result you get from the above does have transparency, however the pixels are still greyscale so a shadow effect against a coloured background will look weird.



            You need to add a COLOUR OVERLAY to your layer and set it to BLACK. Thereby all the pixels still retain their transparency but are now black. This means you can have a transparent PNG with a shadow - no multiply effect required.



            Hope this finally helps!






            share|improve this answer
























            • It seems almost like you’re saying “X2 would be a better question, and the above answers to Question X are not complete answers to Question X2.”  That’s not a valid reason for you to throw shade [har har] on the other answers.  The OP never said anything about wanting to create a shadow effect, and didn’t report any such problem with the older answers.

              – Scott
              Feb 26 at 23:17














            0












            0








            0







            Here's the CORRECT answer for you:



            The suggestions above about creating an Alpha channel and then using it to create a layer mask are correct, however they're missing the crucial final ingredient. The result you get from the above does have transparency, however the pixels are still greyscale so a shadow effect against a coloured background will look weird.



            You need to add a COLOUR OVERLAY to your layer and set it to BLACK. Thereby all the pixels still retain their transparency but are now black. This means you can have a transparent PNG with a shadow - no multiply effect required.



            Hope this finally helps!






            share|improve this answer













            Here's the CORRECT answer for you:



            The suggestions above about creating an Alpha channel and then using it to create a layer mask are correct, however they're missing the crucial final ingredient. The result you get from the above does have transparency, however the pixels are still greyscale so a shadow effect against a coloured background will look weird.



            You need to add a COLOUR OVERLAY to your layer and set it to BLACK. Thereby all the pixels still retain their transparency but are now black. This means you can have a transparent PNG with a shadow - no multiply effect required.



            Hope this finally helps!







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Feb 26 at 21:54









            TOMBEETOMBEE

            91




            91













            • It seems almost like you’re saying “X2 would be a better question, and the above answers to Question X are not complete answers to Question X2.”  That’s not a valid reason for you to throw shade [har har] on the other answers.  The OP never said anything about wanting to create a shadow effect, and didn’t report any such problem with the older answers.

              – Scott
              Feb 26 at 23:17



















            • It seems almost like you’re saying “X2 would be a better question, and the above answers to Question X are not complete answers to Question X2.”  That’s not a valid reason for you to throw shade [har har] on the other answers.  The OP never said anything about wanting to create a shadow effect, and didn’t report any such problem with the older answers.

              – Scott
              Feb 26 at 23:17

















            It seems almost like you’re saying “X2 would be a better question, and the above answers to Question X are not complete answers to Question X2.”  That’s not a valid reason for you to throw shade [har har] on the other answers.  The OP never said anything about wanting to create a shadow effect, and didn’t report any such problem with the older answers.

            – Scott
            Feb 26 at 23:17





            It seems almost like you’re saying “X2 would be a better question, and the above answers to Question X are not complete answers to Question X2.”  That’s not a valid reason for you to throw shade [har har] on the other answers.  The OP never said anything about wanting to create a shadow effect, and didn’t report any such problem with the older answers.

            – Scott
            Feb 26 at 23:17


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f173194%2fconverting-grayscale-shades-into-alpha-channel%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            How do I know what Microsoft account the skydrive app is syncing to?

            When does type information flow backwards in C++?

            Grease: Live!