Current Forum: Homework 4 - Huffman Trees (Part 1) |
Date: Wed Oct 3 2001 11:11 am |
Author: Maxim, Michael G. <mmaxim@andrew.cmu.edu> |
Subject: Re: Huffman and images |
|
|
Yes, Huffman should work with any data file. If it is not working check to make sure that when you are casting the ASCII value to a byte that there isn't any sign changes going on. Images will contain ASCII "character" in the high end of the ASCII table, which may cause some problems. Look in the General Forum, this sign issue has been discussed. You'll see in Part 3 that there are certain images Huffman compresses better than others...
Mike |
|