On Fri, 29 Jun 2001, N. Shrikant wrote:
Are *.gz files really compressed into smaller sizes? Because when I
Yes.
open a gzipped file using WinZip, the compression ratio always reads 0%, and after extracting the conctents of a gzipped file and adding up
What kind of files did you compress? gzip only guarantees that the gzipped file will not be larger than the original file. Some files cannot be compressed because they are already compressed.
compression? Also, which one can give the maximum compression, gzip or bzip?
bzip is better in most cases. gzip is better in some cases. bzip does not guarantee that output size will not be larger than input size. I have seen cases where a bzipped file is larger than the input size, and also where it is larger than the corresponding gzip size.
Philip