Xref: utzoo comp.compression:478 comp.os.msdos.programmer:4896 comp.lang.c:38715 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker.mit.edu!stanford.edu!unix!Teknowledge.COM!uw-beaver!zephyr.ens.tek.com!gvgpsa!gold.gvg.tek.com From: shaunc@gold.gvg.tek.com (Shaun Case) Newsgroups: comp.compression,comp.os.msdos.programmer,comp.lang.c Subject: PD RLE & huffman for the asking Message-ID: <2232@gold.gvg.tek.com> Date: 26 Apr 91 01:33:24 GMT Sender: shaunc@gold.gvg.tek.com Followup-To: comp.compression Organization: Grass Valley Group, Grass Valley, CA Lines: 19 I've been working on a lossless compression project recently, and have written encoders and decoders for the following compression methods: Huffman RLE, bytewise, max seq len == 127 bytes RLE, bytewise, max seq len == 32767 bytes They are written in Borland C++ for MSDOS, but could easily be ported to other compilers or OSs. Since I've settled on a different kind of compression, I decided to clean my routines up a little, document them, and release them into the public domain. So, if anyone wants them, send me a piece of email, and I will send one, two, or all three of them your way. Oh, I used ANSI C, with no OO extensions. BTW, writing the huffman encoder was the most fun. // Shaun //