Reply
using color table to replace colors with different levels of transparency?
Old 01-10-2005, 01:01 PM using color table to replace colors with different levels of transparency?
codewizstw's Avatar
Junior Talker

Posts: 2
Location: Maryland
I'm using Photoshop CS and I want to take an image I converted to indexed color mode and use the color table to replace colors with a gradient from black to transparent. So 100% black would still be black. Middle gray would become 50% transparent black. White would become totally transparent. The color table only seems to be able to set one color transparent and won't let me select transparent when choosing either color of a gradient. Can it be done another way?

The Purpose: I want to use the dark areas of an image as a "shadow layer" on top of a new image. I could go through with the eraser tool at low opacity and take out all the white's and gray's by hand but it wouldn't be nearly as accurate as using the color table to replace them uniformly. (I'm superimposing a mural on the side of a building and I don't want to make the mural layer very transparent to keep detail on the building like shadows.)
codewizstw is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 01-11-2005, 05:26 PM
pappasaa's Avatar
Extreme Talker

Posts: 231
I would just use an eraser brush at 50% or whatever best fits your needs
pappasaa is offline
Reply With Quote
View Public Profile Visit pappasaa's homepage!
 
Old 01-12-2005, 02:30 PM
0beron's Avatar
Defies a Status

Posts: 1,832
Location: Somewhere else entirely
I've not used photoshop, but can you copy the image, desaturate it so it is in greyscale, if not already, and then use this image as a mask? Masks usually encode transparency in the opposite way to what you describe - black = transparent, white = solid. If you invert the image then you could possibly use this to control the alpha component of a black rectangle and achieve the effect that way.

I've never used photoshop, so I don't know if it supports this method, or whether they call it something else.
__________________
UPDATE 0beron SET talkupation = talkupation + lots WHERE post = 'helpful';
Scribble Pad MOD for phpBB (aka MSN handwriting for forums)
0beron is offline
Reply With Quote
View Public Profile Visit 0beron's homepage!
 
Old 01-14-2005, 08:41 AM thanks
codewizstw's Avatar
Junior Talker

Posts: 2
Location: Maryland
thank you both... what I did in the end was take my image in greyscale and used a layer blending mode called "multiply" in photoshop which did basically the same thing I was looking to do. So anyone else with this question for photoshop can have an answer now
__________________
___________
critter wizard
codewizstw is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to using color table to replace colors with different levels of transparency?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12127 seconds with 12 queries