Jump to content
  • Advertisement
Sign in to follow this  
swtsvn

Interpreting 105 bit TGA texture

This topic is 2860 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

hi,
I am not sure if this is the right forum to ask this question, but since it is the basic forum for beginners, I am placing my question here.

I need to interpret TGA texture file of 105 pixel depth. any one knows how to do so? For example, how many bytes for rgba and what do the rest of the bits represent. the texture is an uncompresed one.

Share this post


Link to post
Share on other sites
Advertisement
I don't quite understand what you mean with 105 bits

but in any case http://en.wikipedia.org/wiki/Truevision_TGA#Header

In the 5 field in the header: Image specification (field 5), the subfield 5 has the pixel depth info per-pixel, which to my understanding can't be greater then 32 bits.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!