Photoshop transparency/alpha channels

hi, sorry for an off topic post, you can delete this topic when i get an answer!

Basically i have a jpg image of a muzzle flash with a black backgorund, i want to save it is a PNG so dim3 will support this image but how do i set it so that when i save it as a PNG the black will be transparent, otherwise known as a PNG with transparecny, ive seen his before with explosions and the smoke on dim3 so how do i do that in PHOTOSHOP?????

You don't do it in Photoshop. In SDL for example you can set an aplha color, in this case, setting it to black will result in a transparent picture.

If you wanna do this in Photoshop, you'll need to make sure the image has an alpha channel. You can make an alpha channel in Photoshop yourself, but depending on the image this may be a lengthy process.

You're only spose to adjust the transparency of the actual flare inside the engine. Keep it 1.0 alpha in the png. And I'd start with layers and a transparent doc in photoshop so you don't have those nasty black areas on yours.

A quick move to the correct forum for this question (Designer's Studio) and a simple rename to a more descriptive thread title, and "Tada!" No more off-topic and everyone is happy. Perhaps this can be done in the future!

What version of Photoshop are you using? Surely the manual has something about alpha channels or transparency? You probably want to mask the image, make an alpha channel and then flatten it against a black background. This way your image will come out with "premultiplied alpha". (No hazey borders)

aarku Wrote:A quick move to the correct forum for this question (Designer's Studio) and a simple rename to a more descriptive thread title, and "Tada!" No more off-topic and everyone is happy. Perhaps this can be done in the future!

What version of Photoshop are you using? Surely the manual has something about alpha channels or transparency? You probably want to mask the image, make an alpha channel and then flatten it against a black background. This way your image will come out with "premultiplied alpha". (No hazey borders)

-Jon

thanks for moving the topic i had no idea where it would go....

im using CS1 i could get CS2 but i dont have enough money for it... and id rather spend Â£500 on something else than a piece of software...

The best way to make an alpha channel in this situation is to copy the muzzle flash image into a new channel ( "Alpha 1" ) in your channels palette. Then use the "Levels" adjuster to expand this image ( which will now be greyscale ) such that the black remains black and the grey/white goes white. You'll have to adjust it accordingly.

Then, make a layer under your muzzle flash which is mostly the color of the edges of your flash. Say a bright yellow. Then set alpha channel for your muzzle flash to the "Alpha 1" you made in your channels palette. ( do this by option-clicking the alpha channel in the channels palette and then selecting your muzzle flash and clicking the mask button on the bottom of the palette ).

You might want to gaussian blur this mask and futz a little.

Then, use the "SuperPNG" PNG exporter ( google for it ) and let it export a PNG with the alpha channel. There are two versions of SuperPNG, select the one with "Old school alpha channel support ).