TGA transparency

The artists and authors forum! NOTE: © original author - do not use w/out consent!

Moderators: MetalBeast, Capm

Post Reply
User avatar
Kilarin
DBB Fleet Admiral
DBB Fleet Admiral
Posts: 2403
Joined: Wed Aug 07, 2002 2:01 am
Location: South of Ft. Worth Texas

TGA transparency

Post 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>
HighOctane_Jared
DBB Ace
DBB Ace
Posts: 61
Joined: Tue Dec 20, 2005 3:46 pm

Post by HighOctane_Jared »

You can use GIMP 2.0 for windows, it automatically saves the Alpha channel in the TGA file.
User avatar
Duper
DBB Master
DBB Master
Posts: 9214
Joined: Thu Nov 22, 2001 3:01 am
Location: Beaverton, Oregon USA

Post by Duper »

isn't a TGA with transparency a 28 bit format?
User avatar
heftig
DBB Ace
DBB Ace
Posts: 138
Joined: Mon Jun 05, 2006 9:55 pm
Location: Germany
Contact:

Post by heftig »

AFAIK not. TGA supports 16, 24 and 32bits/pixel.
User avatar
Kilarin
DBB Fleet Admiral
DBB Fleet Admiral
Posts: 2403
Joined: Wed Aug 07, 2002 2:01 am
Location: South of Ft. Worth Texas

Post 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.
HighOctane_Jared
DBB Ace
DBB Ace
Posts: 61
Joined: Tue Dec 20, 2005 3:46 pm

Post 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.
User avatar
Duper
DBB Master
DBB Master
Posts: 9214
Joined: Thu Nov 22, 2001 3:01 am
Location: Beaverton, Oregon USA

Post by Duper »

yeah. its the last 4 bits that carry the alpha data.

Ifranview lets you modify this in TGA's
User avatar
BUBBALOU
DBB Benefactor
DBB Benefactor
Posts: 4198
Joined: Tue Aug 24, 1999 2:01 am
Location: Dallas Texas USA
Contact:

Post by BUBBALOU »

8 bits......

32 Bit TGA = 24bit TrueColor/8 bit Alpha

I seem to have a better workout dodging your stupidity than attempting to grasp the weight of your intelligence.
User avatar
Duper
DBB Master
DBB Master
Posts: 9214
Joined: Thu Nov 22, 2001 3:01 am
Location: Beaverton, Oregon USA

Post by Duper »

Thank you. I knew that. :roll:

can you tell it's been too long since I've messed with this?
User avatar
Kilarin
DBB Fleet Admiral
DBB Fleet Admiral
Posts: 2403
Joined: Wed Aug 07, 2002 2:01 am
Location: South of Ft. Worth Texas

Post 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?
User avatar
fliptw
DBB DemiGod
DBB DemiGod
Posts: 6459
Joined: Sat Oct 24, 1998 2:01 am
Location: Calgary Alberta Canada

Post by fliptw »

you can use 32-bit targa for logos in D3.
User avatar
Kilarin
DBB Fleet Admiral
DBB Fleet Admiral
Posts: 2403
Joined: Wed Aug 07, 2002 2:01 am
Location: South of Ft. Worth Texas

Post by Kilarin »

you can use 32-bit targa for logos in D3.
Oh! My instructions said 24bit only. I'll try 32 bit. thanks.
User avatar
BUBBALOU
DBB Benefactor
DBB Benefactor
Posts: 4198
Joined: Tue Aug 24, 1999 2:01 am
Location: Dallas Texas USA
Contact:

Re:

Post by BUBBALOU »

make it easier for lack of definition in the instructions

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

I seem to have a better workout dodging your stupidity than attempting to grasp the weight of your intelligence.
User avatar
Kilarin
DBB Fleet Admiral
DBB Fleet Admiral
Posts: 2403
Joined: Wed Aug 07, 2002 2:01 am
Location: South of Ft. Worth Texas

Post by Kilarin »

And it worked perfectly. Thank you VERY much folks!

Just save the tga as 32 bit and it preserves the transparency.
User avatar
heftig
DBB Ace
DBB Ace
Posts: 138
Joined: Mon Jun 05, 2006 9:55 pm
Location: Germany
Contact:

Re:

Post by heftig »

BUBBALOU wrote:(256R/256Y/256B/256A)
RGBA :) Green, not yellow.
User avatar
BUBBALOU
DBB Benefactor
DBB Benefactor
Posts: 4198
Joined: Tue Aug 24, 1999 2:01 am
Location: Dallas Texas USA
Contact:

Post by BUBBALOU »

color wheel typo

I seem to have a better workout dodging your stupidity than attempting to grasp the weight of your intelligence.
Post Reply