StuffIt X Options
Compression
Method:
Compression method allows you to select different
compressors for use when adding files to a StuffIt X archive with compression.
Method is passed to the compressor as a value between 0 and 6.
Method
1: Method 1 provides compression that is optimized for speed of
compression and decompression. It works by replacing a series of bytes
with a reference to a previous occurrence of the same series of bytes.
Method
2: Method 2 is optimized for the compression of binary files (such
as applications) and also for fast decompression. Method 2 works in the
same way as Method 1, except that it has a more exact way of representing
the offsets and lengths, which makes it compress a little more, but at
the cost of slower compression and decompression. Typically Method 2 will
provide you with the best results when you’re compressing applications.
Method
3: Method 3 provides the best trade off between compression/decompression
speed and archive file size and works well on a variety of different file
types. This compression method does a reversible sort on the data, which
places like data closer together which makes it more compressible.
Method
4: Method 4 provides compression that is primarily optimized for
text. This compression method works by “predicting” what the next byte
will be based on previous data. For example, if it is predicting the byte
following “t”
and “h”, it will give high probabilities to “e”,
and “a”.
Method
5: This compression method uses a filter to determine which of
the previously described methods should be used to compress a particular
file.
Method
6: This method breaks the file being compressed into bite size
pieces and compresses each piece with methods 2 through 4. Whichever method
produces the smallest output is used for that chunk of data. This makes
it very slow but it generally produces the smallest possible files.
Setting
Levels and Extents
Levels generally set “how
hard” each method tries to compress.
In the matching algorithms
(method 1 & 2), levels 1-9 generally correspond to Gzip's
compression levels. The higher the number the harder it tries to find
a match (more compression, but slower). Levels above 9 use a different,
more exhaustive search for previous matches, which gets extra compression,
but at the expense of speed. In the “prediction” algorithm, the level
corresponds to how many previous bytes to use when making the prediction.
Note:
Not all the compression methods used by StuffIt X support setting compression
levels. You cannot specify compression levels for methods 3,5, or 6.
Extents has a direct relationship
to how much memory is used. In methods 1 & 2, the extent sets how
far back to look for a match. In method 4, extent sets how much memory
to use for storing the prediction information.
Encryption
When you create a StuffIt
archive with Encryption, by default RC-4 encryption with a 512bit key
length is used. It is possible, however, to change the encryption method
that will be used. The following encryption methods are available:
1=RC4 - Supports up to
512bit key lengths.
2=DES - Supports tp
to 64bit key lengths
3=BlowFish - Supports
up to 448bit key lengths
4=AES - Supports up to
256bit key lengths
Redundancy
StuffIt X archives can
be created with Redundancy. Adding Redundancy information to an archive
will increase its size, but its availability allows the engine to reconstruct
data damaged as the result of bad media or transfer errors during the
decode phase. You can vary the amount of error correction code applied
to an archive during the encode phase, the error correction level is specified
as the percentage of errors in the archive that can be recovered. The
available values range from 1/128 of a block to 1/8th of a block.
StuffIt X archives created
with Redundancy can only be opened as "Read Only" archives,
meaning that you can browse their contents and extract files, but you
cannot add new items, or delete existing ones.
Text
Encoding
StuffIt X archives can
also be converted directly to ASCII text format. Three text encoding methods
are available, Base64, Base 88, and Base 222. The levels of available
text encoding determine how much of the full ACSII
character set will be used to encode the data. The more characters used,
the less size overhead will be imposed as a result of translating the
binary data of the archive into text characters. When sending archives
via E-mail,
it is best to use Base64. This uses the fewest characters, but as a result
is the most compatible. Base 222 is a good choice if files are being posted
to a news group.
StuffIt
X archives created with Text Encoding can only be opened as "Read
Only" archives, meaning that you can browse their contents and extract
files, but you cannot add new items, or delete existing ones.
Optimizers
StuffIt X includes optimizers
designed to compress certain file types in a specific way. StuffIt X includes
optimizers for sound, graphics, and other common file types. Optimizers
can be turned on or off as a group.
Next: Converting
Archives to StuffIt X format
Copyright
© 2003
by Aladdin Systems, Inc. All rights reserved.
|