Gppaint


WhiteFalcon posted on Jul 19 2004 at 07:44 PM said:
Hey Dalto, I have been looking into GIF decoding recently and you seem to have figured it out pretty easily, could you suggest any good sources please?
Well, to figure out how to parse the header and color table I used a copy of the GIF 89m specification. I can send you a copy if you need one. This was actually quite easy.

However, as I am sure you are already aware, the image data is LZW compressed. Unfortunately, I did not have access to a decent book and all the info I found on the web was crap. So, I went with the tried and true method of using a LZW decompression routine that somebody else wrote.

I could not begin to guess where I got it from, but I could send it to you if you want it.
 
Last edited by a moderator:
Thanks, but I already have the specification as well as some other docs. And you are right, LZW compression is the thing I am after :) I sort of understand it but am not sure about its realization. Will just have to try and see I guess...
 
I just realeased 0.9

Info at the beginning of this thread.

Major changes had to be made to support the alternate image sizes. Please report any bugs you find so I can fix them.

Thanks
 
Back
Top