ycs16a03@merrimack.edu (02/09/91)
I need some fairly specific info on the LZW data compression used in GIF files. So far, I've managed to figure out how the compression/data codes are stored, how their size can vary, etc., and I have no problem extracting codes from a file. What I'm not so clear about is what to do with them next. I know you're supposed to organize them in a table of some sort, and the compression codes act like indexes in the table, but that's about it. Can somebody explain how to decompress these things? I'd prefer just a general algorithm/explanation, but code is OK too. Thanks in advance, Steve Borden