论坛: UNIX系统 标题: gzip的压缩级别-->压缩率怎么换算? 复制本贴地址    
作者: TecZm [teczm]    版主   登录
看了它的man
引用:
      -# --fast --best
              Regulate  the  speed of compression using the specified digit #,
              where -1 or --fast  indicates  the  fastest  compression  method
              (less  compression)  and -9 or --best indicates the slowest com-
              pression method (best  compression).  The  default  compression
              level is -6 (that is, biased towards high compression at expense
              of speed).

1-9 压缩率 默认6
问题是:不同的级别压缩率都是多大呢?



[此贴被 TecZm(teczm) 在 08月12日12时44分 编辑过]

地主 发表时间: 05-08-12 12:43

回复: TecZm [teczm]   版主   登录
286说的
引用:

所有的压缩算法都是具体文件才有具体压缩率或平均压缩率,没有稳定的值。
比如一个字节的文件,所有压缩算法都无法实现压缩。
甚至很多压缩算法越压越大
程序分级,一般是对压缩好的文件再次压缩,所以级不一样



B1层 发表时间: 05-08-12 16:38

回复: Shell [f_h]   论坛用户   登录
压缩,是个问题。

B2层 发表时间: 05-08-12 19:46

论坛: UNIX系统

20CN网络安全小组版权所有
Copyright © 2000-2010 20CN Security Group. All Rights Reserved.
论坛程序编写:NetDemon

粤ICP备05087286号