@ATaco: Excerpt from an email I sent them almost a year ago:
That said, I'd like to note that there *was* one error that took me quite some time to figure out. Near the bottom on this page, where you talk about encoding the codes to bytes.
http://www.matthewflickinger.com/lab/whatsinagif/lzw_image_data.asp
In particular, these two sentences:
"If you see at Step 6 of the encoding, we added a code of #7 to our code table. This is our clue to increase our code size because 7 is equal to 2^3-1 (where 3 is our current code size). Thus, the next code we write out, #2, will use the new code si…