IPWorks ZIP 2020 Python Edition

Questions / Feedback?

file_compression_level Property

The compression level to use for the file.

Syntax

def get_file_compression_level(file_index: int) -> int: ...
def set_file_compression_level(file_index: int, value: int) -> None: ...

Default Value

-1

Remarks

The compression level to use for the file. This property specifies the level of compression to be used, valid values are 1, 2, 3, 4 and 5. Higher values will cause the class to compress better; lower values will cause the class to compress faster.

The default value is -1, which means the value specified in the compression_level property will be used.

The file_index parameter specifies the index of the item in the array. The size of the array is controlled by the file_count property.

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