home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sun-barr!cs.utexas.edu!ut-emx!ibmchs!auschs!awdprime.austin.ibm.com!madere
- From: madere@austin.ibm.com (Steve Madere)
- Newsgroups: comp.compression
- Subject: Readable LZW source code?
- Message-ID: <1992Nov9.213235.26682@awdprime.austin.ibm.com>
- Date: 9 Nov 92 21:32:35 GMT
- Sender: news@awdprime.austin.ibm.com (USENET News)
- Reply-To: madere%aixserv@uunet.uu.net
- Organization: IBM Austin
- Lines: 40
- Originator: madere@julius.austin.ibm.com
-
-
-
- Does anybody know of publicly available source code containing
- LZW compression in a comprehensible form?
-
- What I'm really looking for is a routine like this in C:
-
- LZWCompress(char *source,int srclen, char **dest,int *destlen);
-
- Or even better yet...
-
- LZWCompress(LZWDictionary *dictionary,char *source int srclen,
- char **dest,int *destlen);
-
- Ideally, the code within this routine would be easy to understand
- and reasonably well documented. And maybe even well-structured
- with subroutines here and there!
-
- I need to modify the algorithm slightly so I'd like some code that
- is reasonably easy to understand.
-
- I've looked at the compress 4.0 source code and it's a real mess!
-
- The FAQ only lists locations for some compression programs but
- they all seem to be file compression oriented and optimized like crazy
- (basically unreadable) as well as adapted to every weird non-virtual
- memory architecture known to mankind (another "feature" that leads
- to difficult reading).
-
- Any help would be much appreciated.
-
- Steve Madere
- madere%aixserv@uunet.uu.net
-
-
- --
-
- Steve Madere
- (Do not reply with R! use the following address)
- madere%aixserv@uunet.uu.net
-