Page 1 of 1

TGA transparency

Posted: Fri Feb 09, 2007 1:51 pm
by Kilarin
Ok, its an artsy question, so I put it into the Gallery.

How do I save a tga with transparency? Specifically so I can convert it into an ogf ship logo. Or does ogf support transparency?

I use PhotoPlus usually, and converts to tga, but when it does, I lose transparency. <sigh>

Posted: Fri Feb 09, 2007 11:37 pm
by HighOctane_Jared
You can use GIMP 2.0 for windows, it automatically saves the Alpha channel in the TGA file.

Posted: Sat Feb 10, 2007 2:03 am
by Duper
isn't a TGA with transparency a 28 bit format?

Posted: Sat Feb 10, 2007 7:48 am
by heftig
AFAIK not. TGA supports 16, 24 and 32bits/pixel.

Posted: Sat Feb 10, 2007 7:50 pm
by Kilarin
I'll try gimp, thanks for the advice.

Actually, I need to set up a linux partition on my new machine anyway, might be time to try and do that.

Posted: Sun Feb 11, 2007 12:06 am
by HighOctane_Jared
the TGA file has to be 32-bit in order to have the alpha channel, at least that is the case in Photoshop. Its haven't found all the customized saving tools in GIMP yet.

Posted: Sun Feb 11, 2007 1:10 am
by Duper
yeah. its the last 4 bits that carry the alpha data.

Ifranview lets you modify this in TGA's

Posted: Sun Feb 11, 2007 1:37 am
by BUBBALOU
8 bits......

32 Bit TGA = 24bit TrueColor/8 bit Alpha

Posted: Sun Feb 11, 2007 5:33 am
by Duper
Thank you. I knew that. :roll:

can you tell it's been too long since I've messed with this?

Posted: Sun Feb 11, 2007 7:34 am
by Kilarin
So NO alpha chan possible (and therefore not transparency possible) for D3 ship logos since they have to come from 24 bit tgas?

Posted: Sun Feb 11, 2007 12:54 pm
by fliptw
you can use 32-bit targa for logos in D3.

Posted: Sun Feb 11, 2007 2:55 pm
by Kilarin
you can use 32-bit targa for logos in D3.
Oh! My instructions said 24bit only. I'll try 32 bit. thanks.

Re:

Posted: Tue Feb 13, 2007 12:29 am
by BUBBALOU
make it easier for lack of definition in the instructions

24bit TGA + 8bit Alpha = 32Bit TGA (256R/256G/256B/256A)

Posted: Tue Feb 13, 2007 7:04 am
by Kilarin
And it worked perfectly. Thank you VERY much folks!

Just save the tga as 32 bit and it preserves the transparency.

Re:

Posted: Tue Feb 13, 2007 10:58 am
by heftig
BUBBALOU wrote:(256R/256Y/256B/256A)
RGBA :) Green, not yellow.

Posted: Tue Feb 13, 2007 10:18 pm
by BUBBALOU
color wheel typo