Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!zaphod.mps.ohio-state.edu!samsung!hubdub!ycs16a03 From: ycs16a03@merrimack.edu Newsgroups: comp.graphics Subject: GIF files & LZW compression Message-ID: <21142.27b2f56a@merrimack.edu> Date: 8 Feb 91 19:00:58 GMT Organization: Merrimack College, No. Andover, MA Lines: 13 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