Sign in to follow this  

TGA vs BMP

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

Personally, I prefer png over both of them; IIRC tga is simpler than png, but if you use an image library to load the textures it doesn't really matter. bmp should never be used, because it's not compressed at all and takes up a huge amount of space for very little gain in quality (if any).
EDIT:
Actually, I just remembered that there's an official png library that loads png images, so the being more complex point is pretty much gone.

Share this post


Link to post
Share on other sites
Quote:
Original post by PumpkinPieman
You also don't have to worry about transparency which is a bonus.


Even though you don't have transparency, you do have color-keying which is really easy to setup (but this limits it, because the programmer then chooses the transparent color instead of the artist.)

Share this post


Link to post
Share on other sites
The main difference, if I remember correctly, is that TGA supports an alpha channel while bmp doesn't. PNG is a better format for textures than BMP or TGA though.

Share this post


Link to post
Share on other sites
Quote:
Original post by Programmer16
Quote:
Original post by sordid
DDS [grin]


AFAIK DDS won't work outside of DirectX (unless you build a image loader for it.)


And that's somewhat wrong. DDS use DXTx, and some of the DXTx formats are in fact S3TC - which appeared as an opengl extension long before Microsft added it to its API.

Regards,

Share this post


Link to post
Share on other sites
Well so far, none has mentioned the advantages with DirectDrawSurface (DDS) over the rest of the mentioned formats. DDS can be decompressed by the grahpics hardware and is therefore to be loaded compressed (resulting in much faster load-times).
Furthermore the images are compressed quite good, so they doesn't take up much space ;-)

Share this post


Link to post
Share on other sites

This topic is 4559 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.

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