.GIF files

Blitz3D Forums/Blitz3D Beginners Area/.GIF files

Is it possible to display animated .GIF files with blitz 3d? I can all all other graphics types to display, but not .GIF files.

GIF are sort of movie - they *should* be displayed by DrawMovie - I dont' remember...

The usual way to load animated gif is to use the FreeImage.dll to do all the hard work then we just read a FreeImage bitmap and create an image in b3d.

Get the decls and dll here, (a little out of date but should do fine):

http://www.blitzbasic.com/codearcs/codearcs.php?code=1732

There's an example there of reading animated files, called a multipage in FreeImage.

There is also a gif to animimage strip convertor in the archives