estimate zlib compression ratio?
- From: tim.weiler@xxxxxxxxx
- Date: 24 Apr 2007 08:08:00 -0700
Is there a fast way to estimate the zlib compression ratio for a file
(or any stream) without actually doing the compression?
For example, I need to send files over a socket, and some files are
jpegs, which don't compress that well, but other files are large text
documents with good compression ratios. I'd like to selectively
compress the files based on an estimated compression ratio.
Thanks
.
- Follow-Ups:
- Re: estimate zlib compression ratio?
- From: LR
- Re: estimate zlib compression ratio?
- From: cr88192
- Re: estimate zlib compression ratio?
- From: Ben Rudiak-Gould
- Re: estimate zlib compression ratio?
- From: Phil Carmody
- Re: estimate zlib compression ratio?
- Prev by Date: Re: Compression test on permutations
- Next by Date: Re: Compression test on permutations
- Previous by thread: dicom with embedded jpegls
- Next by thread: Re: estimate zlib compression ratio?
- Index(es):