Jump to content
  • Advertisement
Sign in to follow this  
GiantPaul

.BMP, JPG, GIF with DirectX?

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

Advertisement
IRC, *.gif files aren't supported by Dx, but I'm checking to make sure.

EDIT: Okay, there is a way to use them, still figuring out how. It looks like its an external library.

Share this post


Link to post
Share on other sites
Quote:
Original post by GiantPaul
Is Transparency possible with .gif?

I don't think so, unless you find/write some sort of function/library to get the transparant color.
Better use either alpha channnels (*.tga for example) or a key color when creating a texture.

Share this post


Link to post
Share on other sites
I think one way you could acheive utilizing GIFs is by loading the file, and 'converting' it to a Bitmap in the memory. Just look up the file format (try wotsit.org), and use some file streaming. However, using the library might be a better idea.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!