loading GIF's

Started by
1 comment, last by fushi 18 years, 9 months ago
I am using c++ and DirectX8 As of now the only graphics file i am loading in is bitmaps using the Windows API LoadImage function. However, I want to add animation to my game by including animated GIF's. I have searched on here and on google, yet cant come up with a solution yet for my case. Anyone know of some code, examples, or a link to help me out? Or is my best bet just to load in all the images in a bitmap format, then create the animation sequence in the code itself?
<=- Talon -=>
Advertisement
Load the file according to the format. Do what you need to do to submit the data to DX.
http://www.wotsit.org/search.asp?page=4&s=graphics
The FreeImage library has support for multipage files and animated gifs.
Go to http://freeimage.sourceforge.net/
It is very easy to use and is free :)
Greets

This topic is closed to new replies.

Advertisement