Get GIF info
I am making an online RPG game (view my other submissions to see it). I decided I'd use GIF files instead of BMP's for their size. But I had a problem. I wanted to use the GIF files transparency, but I didn't know any way to find out what that colour was. So I searched the net, read article after article on the GIF file format, and eventually I just opened a GIF file with a hex editor and decoded the data on my own. Then I wrote this module to find out the information I needed. This program can read from the GIF file: Version Height & Width Number of Colours Palette data (IE, all of the colours) If it is transparent, and, if so, what the transparent colour is I would like to thank Dan Redding from Blue Knot Software for giving me the idea to open the file with a hex editor to decypher the code. * Update, fixed the file so that it works now. The gif reading bas always worked, just the program itself. But it's fixed now.*
Résumé par IA: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Upload