Monday, May 24, 2010

Making .gifs?

I want to use c++ or java to make 1000s of gifs. I can use the file I/O feature, and just put it in a loop. I can do it with .html, but I don't know how to do it with .gifs, .bmps, or .jpegs. I use Visual C++ express (which doesn't have a lot to work with) so if I need to use any header files, please let me know where I can find them. Thanks ahead!

Making .gifs?
Unlike .html files which are text files, .gifs, .bmps, and .jpgs are binary files. Each has their own specific binary format and can be pretty complicated. You can try and write directly to the file using the file specifications of them, for example the gif file specification is available here (http://www.martinreddy.net/gfx/2d/GIF87a... or you can use a premade software library that simplifes the process for you like this one (http://www.libgd.org/Main_Page)


No comments:

Post a Comment