Transparent Pixels in Adobe Photoshop 7
Hello, How do I make individual pixels transparent, like painting them? I can't find it on the pallete...
---------------------------------The Shadow Sun - Want Your Writing Exposed?
With the eraser. Note that you cannot have transparency on the "Background" layer.
Quote:
Original post by Sneftel
With the eraser. Note that you cannot have transparency on the "Background" layer.
Ya, but when I blit the texture, it still shows up as whitespace (in DirectX)
---------------------------------The Shadow Sun - Want Your Writing Exposed?
Then you either aren't saving the file in a format that supports transparency, you aren't loading it in a way that preserves transparency, or you aren't rendering it in a way that allows transparency.
Obviously it will show a white space because "transparency" is not possible for certain formats such as BMP and if you want to remove what should be transparent you will need to make use of alphablending or, if you are using directdraw, colorkeying to "extract" the color you chose as being transparent and only then will that color not be shown.
Usually people choose colors that are not likely to be used or easy to identify such as pure 255 white or pure 0 black or something like flashy green RGB(0,255,0) and use that color in their projects to use as color keys so that they don't get blitted on the surface removing what you don't want from the image.
Hope that did help a bit. I would help more but I'm not that experienced with those concept to give you a crash course on the subject but that's the main idea.
This is explained in enough details in the Tricks Of The Game Programming Gurus book form Andre Lamothe if you ever happen to have access to a copy.
Usually people choose colors that are not likely to be used or easy to identify such as pure 255 white or pure 0 black or something like flashy green RGB(0,255,0) and use that color in their projects to use as color keys so that they don't get blitted on the surface removing what you don't want from the image.
Hope that did help a bit. I would help more but I'm not that experienced with those concept to give you a crash course on the subject but that's the main idea.
This is explained in enough details in the Tricks Of The Game Programming Gurus book form Andre Lamothe if you ever happen to have access to a copy.
The best way to do transparency is to add a new layer mask (at the bottom of the layers box) and then you can use normal paint tools to draw the transparancy on. Also, this doesn't ruin the picture, as the eraser would. The picture is always there. (and you can't have a layer mask on the background layer, as mentioned above aswell)
if you think that making the pixels "transparent" in Photoshop will make them transparent in whatever software you are using, you probably need to go and read the specs for that software first...
I'd say ask in whichever forum is more appropriate for your program.
Then depending on _how_ your particular program deals with transparent pixels, you can come back and ask us for help (because, just off the top of my head I can think of HalfLife transparency format, good old colour keying, and alpha layer transparency as used in Director).
You need to ask the right question if you want the right response [grin]
I'd say ask in whichever forum is more appropriate for your program.
Then depending on _how_ your particular program deals with transparent pixels, you can come back and ask us for help (because, just off the top of my head I can think of HalfLife transparency format, good old colour keying, and alpha layer transparency as used in Director).
You need to ask the right question if you want the right response [grin]
-----------------------------Sancte Isidore ora pro nobis !
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement