Enum CompressionLevel
Specifies the trade‑off between speed and size when compressing data; higher values favor smaller output while lower values favor throughput.
Namespace: Telerik.Windows.Zip
Assembly: Telerik.Windows.Zip.dll
Syntax
public enum CompressionLevel
Best
Maximum compression ratio (slowest processing).
Fastest
Fastest execution with minimal size reduction.
Level0
Alias of NoCompression.
Level1
Alias of Fastest.
Level2
Slightly slower than level 1 with modestly improved compression.
Level3
Slower than level 2 for incremental size savings.
Level4
Balances speed and ratio between levels 3 and 5.
Level5
Provides better compression than level 4 with moderate added cost.
Level6
Alias of Optimal.
Level7
Emphasizes compression ratio over speed compared to level 6.
Level8
Higher ratio than level 7 with additional CPU cost.
Level9
Alias of Best.
NoCompression
Stores data without applying compression (raw copy).
Optimal
Default balance of speed and compression efficiency for general use.