Page 1 of 1

Loading GIF in FreeBASIC

Posted: Tue Feb 07, 2006 8:11 pm
by Brandon
I just switched from QBasic to FreeBASIC. Is there an easy way to load animated GIFs in FreeBASIC??

Posted: Wed Feb 08, 2006 3:19 pm
by {Nathan}
Hmm... GOOGLE?

*is dissappointed*

Looks like no such thing exists, or almighty google is... *shudders* WRONG!!!

*Crys in a corner*

Posted: Wed Feb 08, 2006 5:15 pm
by Patz QuickBASIC Creations
Nathan, if everyone used google rather than Pete's Site, then what reason would I have to exist? :lol:

Anyway, back on subject. Please be more specific with your problem. Do you need to be able to edit the images, or just display them?

Posted: Thu Feb 09, 2006 7:11 am
by Z!re
Use a library, such as freeImage, devIL or SDL_image

I beleive they can load GIF's, or you could write your own GIF loader, quite a few exist for QB that could be easily translated.

Posted: Thu Feb 09, 2006 7:17 pm
by {Nathan}
*slaps myslef upside the head*

Yes, SDL can do this.

Posted: Fri Feb 10, 2006 3:34 am
by Macric