Xceed.Compression.Silverlight.v6.6 Assembly > Xceed.Compression Namespace : CompressionMethod Enumeration |
'Declaration Public Enum CompressionMethod Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
'Usage Dim instance As CompressionMethod
public enum CompressionMethod : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Member | Description |
---|---|
BWT | BWT algorithm.
The raw BWT block-sorting algorithm. Produces smaller compressed output than the BZip2 method, but is not compatible with WinZip. It is compatible with zip files created using the BWT compression method offered by Xceed Zip Compression Library ActiveX. |
BZip2 | BZip2 algorithm.
A BWT-based block-sorting algorithm used in zip files created with WinZip 11.0 and up. An excellent alternative to Deflate and Deflate64 when speed can be traded off. |
Deflated | Deflate algorithm. Standard algorithm used by the PKZip 2.04g format. |
Deflated64 | Deflate64 algorithm also know as Enhanced Deflate.
Deflate64 is a variation of the Deflate algorithm that uses a 64K sliding window rather than a 32K window in order to compress a sequence of bits. Deflate64 takes longer to compress data than Deflate, however it provides better compression. The Xceed Self-Extractor Module does not support the Deflated64 compression method. |
LZMA | LZMA algorithm. The Lempel-Ziv-Markov chain-Algorithm (LZMA) uses an improved and optimized version of the Lempel-Ziv (LZ77) compression algorithm, backed by a Markov chain range encoder. It uses a variable dictionary size. Used in zip files created with WinZip 12.0 and up. LZMA typically provides much better compression than the Deflate and Deflate64 algorithms at the expense of speed and memory usage when compressing. It also typically provides compression ratios a little better than BZip2/BWT and PPMd while being a little faster. Compression usually requires (<dictionary size> * 11.5 + 6 MB) |
PPMd | A PPM-based predictor algorithm used in zip files created with Winzip 11.0 and up. In our tests, especially with text files and XML files, the PPMd method generally produced the smallest compressed output. Xceed recommends that the PPMd compression method be selected when dealing with text files, XML files, and other files with high redundancy, as this is where the PPMd algorithm is able to create smaller files than the other compression methods. |
Stored | No compression is applied. |
The compression level only applies to the Deflated, Deflated64, PPMd, and LZMA compression methods. It does not apply to the BZip2 or BWT compression methods.
The greater the amount of compression applied, the greater the time it takes to perform the compression.
System.Object
System.ValueType
System.Enum
Xceed.Compression.CompressionMethod
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2