CompressionLevel Property

The compression level to use.

Object Oriented Interface

public function getCompressionLevel();
public function setCompressionLevel($value);

Procedural Interface

ipworkszip_zipstream_get($res, 1 );
ipworkszip_zipstream_set($res, 1, $value );

Default Value

4

Remarks

The compression level to use, from 1 to 6. Higher values will cause the component to compress better; lower values will cause the component to compress faster.

When GetCompressionStream is invoked the stream will be created with the specified compression level. After a stream has been created it is independent of the control, and changing CompressionLevel will have no effect on existing streams.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks ZIP 2020 PHP Edition - Version 20.0 [Build 8300]