Sign in to follow this  
BlueChip

information about rgb and tga (32 bit)

Recommended Posts

hi people... I've seen, in many tutorial, that is good put in one 32 bit file, 4 alpha channel for splatting... so only a .rgb or .tga file... but how do I do it? my PaintShopPro only work on 24 bit color... and you...how do you do it?

Share this post


Link to post
Share on other sites
Hopefully english isn't your first language.

Regardless, if you want a 32 bit image that has an 8 bit red, green, blue, and alpha channel (8x4=32) then I'd recommend the PNG format.

You can edit them in Photoshop or even Gimp which I believe is free. Read those links.

Share this post


Link to post
Share on other sites
yes... is not my 1st language...

I've searched informations about PNG, in order to code a small program for to save a single PNG like sum of 4 alpha channels..

but nothing...

yaers ago I done a BMP loader... PNG loader is easy like that??

Any clues?

Share this post


Link to post
Share on other sites
Quote:
Original post by BlueChip
yes... is not my 1st language...

Ok, then you are doing a good job.
Quote:
Original post by BlueChip
I've searched informations about PNG, in order to code a small program for to save a single PNG like sum of 4 alpha channels..

but nothing...

yaers ago I done a BMP loader... PNG loader is easy like that??

Any clues?

Just use libpng. Hopefully you won't have the problems that I had with it. Goodluck, libpng does come with examples and a google search on libpng will provide more.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this