Skip navigation
Xanaro
Currently Being Moderated

help, change white 100% transparent, 50%gray 50% transparent, black 0% transparent? picture examples

Feb 6, 2013 9:33 PM

How would I take a black and white picture like this:

http://i1208.photobucket.com/albums/cc361/xekon/grey_zpsb7b193a3.png

and convert it so that the varying levels of gray are varying levels of transparency like this:

http://i1208.photobucket.com/albums/cc361/xekon/grey-opac_zpsc92a055b.png

I need it converted as shown above because I want the background colors of a web page to come through the image.

 

I cannot simply just use magic wand to delete the white, because I am actually wanting to pass some color though the gray levels. The darker the gray level, the less color that gets through.

 

So if you took the original and convert it, you would get this type of affect when its sitting over a red color web page:

 

original:

http://i1208.photobucket.com/albums/cc361/xekon/grey-bg_zps433287cd.png

 

transparent:

http://i1208.photobucket.com/albums/cc361/xekon/grey-opac-bg_zps5efed620.png

The above pictures, I have done it as you can see. but those are simple rectangle objects, and what I did was slice the picture up into different layers, one layer for each different amount of gray bar, and then I changed the opacity respectively for each layer.

 

I cant exactly slice up a picture when there is a greater variety of gray levels in more complex pictures such as this:

http://i1208.photobucket.com/albums/cc361/xekon/logo_zps0c354824.png

 

So far my searches have not answered the question, most describe how to blend two pictures to get a similar result, but the background has to be blended in photoshop.(I need the blending effect to happen regardless of what color background the webpage uses, so I just need to convert it to transparency levels only.) After hours of wading through material trying to find an answer I am hoping to get some help from the good folks on the forums here, or maybe a link to a tutorial showing how to do it.

 

What I am needing to do seems as though it should be a fairly simple task if you know your way around photoshop, I have been using photoshop for years, but I have never needed to do something like this before.

 
Replies
  • Noel Carboni
    23,514 posts
    Dec 23, 2006
    Currently Being Moderated
    Feb 6, 2013 11:07 PM   in reply to Xanaro

    What you're saying is that you want an image that mixes varying amounts of black into whatever it's displayed over?

     

    Copy your image, create a new document the same size with a black fill layer, then create a layer mask for that fill layer.  Now target the layer mask, then go to the Channels panel and choose the Mask channel and make it visible.  Now paste your image and Image - Adjust - Invert (because black is transparent).

     

    PartiallyTransparent.png

     

    -Noel

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points