Original PEF filesize: 14.222 KB
Zipped (maximum): 8.686 KB
RAR v2.5 (maximum): 8034 KB
ACE v2.6 (maximum): 8630 KB
7-zip (LZMA algorithm, 32MB dictionary size, 128bytes word size): 7308KB


I did this awhile back (from linux-land). I tried different settings with gzip, zip, bzip2 and they all came out pretty close. They agree more or less with your numbers... about 75-80% of the original size. For me, that wasn't worth the added liability of storing compressed images.

Just FYI, all of those algorithms are set up for compressing data. They don't do as good of a job on something like an image since uncompressed TIFF files like a PEF have 2-dimentional compressibility. I'm not really up on image processing techniques, but intuitively, an image should compress well line-by-line.

Similar to audio compression... running a WAV through bzip2 doesn't buy you a whole lot. Running it through an algorithm that's designed for music (e.g. FLAC) compresses it a lot tighter.

-Cory

 --

*************************************************************************
* Cory Papenfuss                                                        *
* Electrical Engineering candidate Ph.D. graduate student               *
* Virginia Polytechnic Institute and State University                   *
*************************************************************************

Reply via email to