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