PD RLE & huffman for the asking
Shaun Case
shaunc at gold.gvg.tek.com
Fri Apr 26 11:33:24 AEST 1991
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 //
More information about the Comp.lang.c
mailing list