CompressionStrategy Enumeration

DotNetZip

Ionic Zip Library v1.9.1.6 CompressionStrategy Enumeration
ReferenceIonic.ZlibCompressionStrategy
Describes options for how the compression algorithm is executed. Different strategies work better on different sorts of data. The strategy parameter can affect the compression ratio and the speed of compression but not the correctness of the compresssion.
Declaration Syntax
C# Visual Basic Visual C++
public enum CompressionStrategy
Public Enumeration CompressionStrategy
public enum class CompressionStrategy
Members
Member Description
Default The default strategy is probably the best for normal data.
Filtered The Filtered strategy is intended to be used most effectively with data produced by a filter or predictor. By this definition, filtered data consists mostly of small values with a somewhat random distribution. In this case, the compression algorithm is tuned to compress them better. The effect of Filtered is to force more Huffman coding and less string matching; it is a half-step between Default and HuffmanOnly.
HuffmanOnly Using HuffmanOnly will force the compressor to do Huffman encoding only, with no string matching.

Assembly: Ionic.Zip (Module: Ionic.Zip) Version: 1.9.1.8 (1.9.1.8)