EnumCompressionLevel
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
Best
Maximum compression ratio (slowest processing).
Fastest
Fastest execution with minimal size reduction.
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.
Level7
Emphasizes compression ratio over speed compared to level 6.
Level8
Higher ratio than level 7 with additional CPU cost.
NoCompression
Stores data without applying compression (raw copy).
Optimal
Default balance of speed and compression efficiency for general use.