Does anyone have a routine to parse and render GIF images with or without LZW compression? I can get out the dimensions and the global color table, but I can't seem to get out the actual picture information with an LZW compressed gif. I guess my biggest failing is that my eyes go crossed when I read specifications like this one.
Who writes these things, any way? Do they speak english? It looks like english, but I sure don't understand it.
My company has a GIF license from Unisys, so don't worry about that.
I had seen that routine before. I does a nice job with compressing text. What I really need is something on how to parse and render GIF file, pixel by pixel, you know?.
For me, it's more of I'm geting lost trying to pull apart the actual pieces of the file that have the image data. I can pull the datastream out and even save the frames of an animated gif file to separate files with no prob.
I can't extract the single pictures. That is the fundamental problem. I can extract the colors but not the pictures.
What I mean by extracting the frames is that ican pull out the header, then pull each frame, then save separately the header and each frame into separate files.
For example if the file was setup:
[HEADER]
[FRAME1]
[FRAME2]
[FRAME3]
I could pull them apart and save files like this:
[HEADER]
[FRAME1]
[HEADER]
[FRAME2]
[HEADER]
[FRAME3]
But that really doesn't tell me how to pick apart [FRAME1], you know?