diff options
author | David Boddie <dboddie@trolltech.com> | 2010-05-26 14:38:41 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2010-05-26 14:38:41 (GMT) |
commit | ad8047dbca22e2c3c8af3ec60ba97939abf91315 (patch) | |
tree | 5bf39add553247f4f20e205dbea839d05e179dcc | |
parent | 4837518d3161c77b4e811057d638dcbd22b89195 (diff) | |
download | Qt-ad8047dbca22e2c3c8af3ec60ba97939abf91315.zip Qt-ad8047dbca22e2c3c8af3ec60ba97939abf91315.tar.gz Qt-ad8047dbca22e2c3c8af3ec60ba97939abf91315.tar.bz2 |
Doc: Corrected the documentation about the compression threshold.
Reviewed-by: Trust Me
-rw-r--r-- | doc/src/development/rcc.qdoc | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/doc/src/development/rcc.qdoc b/doc/src/development/rcc.qdoc index 1541e11..999408b 100644 --- a/doc/src/development/rcc.qdoc +++ b/doc/src/development/rcc.qdoc @@ -60,28 +60,30 @@ \row \o \c{-o} \o \c{file} \o Write output to \c{file} rather than to stdout. \row \o \c{-name} \o \c{name} \o Create an external initialization - function with \c{name}. - - \row \o \c{-threshold} \o \c{level} \o Specifies a threshold \c{level} (in - bytes) to use when deciding whether - to compress a file. If the file is - smaller than the threshold \c{level}, - it is not compressed. The default - threshold level is 70 bytes. - + function with \c{name}. + + \row \o \c{-threshold} \o \c{level} \o Specifies a threshold \c{level} (as a + percentage) to use when deciding whether to compress + a file. If the reduction in the file size is greater than + the threshold \c{level}, it is compressed; otherwise, + the uncompressed data is stored instead. The default + threshold level is 70%, meaning that compressed files + which are 30% or less of their original size are + stored as compressed data. + \row \o \c{-compress} \o \c{level} \o Compress input files to the given - compression \c{level}, which is an - integer in the range 1 to 9. Level 1 - does the least compression but is - fastest. Level 9 does the most - compression but is slowest. To turn - off compression, use \c{-no-compress}. - The default value for \c{level} is -1, - which means use zlib's default - compression level. + compression \c{level}, which is an + integer in the range 1 to 9. Level 1 + does the least compression but is + fastest. Level 9 does the most + compression but is slowest. To turn + off compression, use \c{-no-compress}. + The default value for \c{level} is -1, + which means use zlib's default + compression level. \row \o \c{-root} \o \c{path} \o Prefix the resource access path with \c{path}. - The default is no prefix. + The default is no prefix. \row \o \c{-no-compress} \o \o Disable compression. |