.GIF files

Blitz3D Forums/Blitz3D Beginners Area/.GIF files

doctorjeff98(Posted 2008) [#1]
Is it possible to display animated .GIF files with blitz 3d? I can all all other graphics types to display, but not .GIF files.


degac(Posted 2008) [#2]
GIF are sort of movie - they *should* be displayed by DrawMovie - I dont' remember...


markcw(Posted 2008) [#3]
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.


Ross C(Posted 2008) [#4]
There is also a gif to animimage strip convertor in the archives