Current Forum: Homework 4 - Huffman Trees (Part 1) |
Date: Wed Oct 10 2001 9:16 pm |
Author: Cipriani, Jason A. <jac4@andrew.cmu.edu> |
Subject: Re: file to store compressed data |
|
|
my file was like this:
2 Bytes: 'CH' - marks this file as a compressed file 4 Bytes: Original file length ? Bits : Huffman tree ? Bits : Compressed data
is this a bad (as in, lose points for it) thing to do? it has the effect of increasing the file size of a "stored" file by 6 bytes. although this defeats the purpose of "compressing" certain files, even a decent, widely used file format like ZIP files can inflate if the only file in them is stored, not compressed.
-jason |
|