Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

ZipFile.SetCompressionLevel

Sets the compression level.

Component Version macOS Windows Linux Server iOS SDK
Compression 3.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "ZipFile.SetCompressionLevel"; Method; Level )   More

Parameters

Parameter Description Example
Method The compression method to use. Can be 0 for no compression and 1 for deflate compression. 1
Level The compression level from 0 (fastest) to 9 (maximum). 9

Result

Returns OK or error message.

Description

Sets the compression level.
By default the plugin uses maximum compression level.

Examples

Set default settings:

MBS( "ZipFile.SetCompressionLevel"; 1; 9 )

See also

Release notes

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 17th January 2018


ZipFile.Open - ZipFile.UsePassword

💬 Ask a question or report a problem