Archived

This topic is now archived and is closed to further replies.

adding an alpha channel to an image

This topic is 5848 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am using DirectX and want to create some 32 bit textures that have an alpha channel. My school has photoshop 6 (but of course I have no manual for it) and tried some experimenting with it but couldnt figure it out. So how can I use photoshop(or paintshop pro) to add an 8bit grayscale bitmap to a 24bit RGB bitmap. And then in what format should I save this as (as a bitmap cant hold an alpha channel). Thanks in advance. Possibility

Share this post


Link to post
Share on other sites
why don´t you use two separate files? one grayscale for the alpha, and the rgb for the texture.. worked fine for me.

If you want to know more about this you should mail the guy at www.bunnz.com, he did the programming for the !Purple project (which used something like you want).

Share this post


Link to post
Share on other sites
Yah, I know you can do seperate files, that is what I am doing right now, but I would like to combine them into a single which I believe you can do with a tar or tga or ppm file, I just need some help with the photoshop or paintshop pro to do it.

Possibility

Share this post


Link to post
Share on other sites
In photoshop go to the channel window and create a new one. You will have option for what type of channel you want to create, select "alpha".

Make sure the alpha channel is active and not the R, G & B channels and paste the bitmap you want to use as the alpha channel in the "layer" of the channel.

Save as 32-bits TGA

Biere et punk

Share this post


Link to post
Share on other sites