|
|
|
|
|
- Error codes
- Compression level and addition time
- Notes
zipCompressionLevel (Function) In french: zipNiveauCompression Changes the compression level used when creating an archive in ZIP format or in 7z format.
Syntax
<Result> = zipCompressionLevel(<Archive> , <Compression level>)
<Result>: Integer - 0 if the compression level was changed,
- An error code (value greater than 0) otherwise (see the Notes).
<Archive>: Character string or zipArchive variable Name of the archive to be used. This name can correspond to: <Compression level>: Integer Value included between 0 (storage without compression) and 9 (maximum compression). The default compression level is set to 6. Remarks Error codes The following error codes are returned: - 15: CAB format archive.
- 27: Archive in WDZ format.
- 28: Invalid compression level.
The message corresponding to the error code is returned by zipMsgError. Compression level and addition time Caution: The higher the compression level, the longer it will take to add a file to the archive. Notes The compression level is defined by the call to the function for all the files that will be added to the archive thereafter (the compression level for the files already found in the archive remains the same). Please note It is not possible to change the compression level of a file in an existing archive. Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|