compression_method Property
The compression method to use.
Syntax
def get_compression_method() -> int: ... def set_compression_method(value: int) -> None: ...
compression_method = property(get_compression_method, set_compression_method)
Default Value
0
Remarks
This property specifies the compression method to use. By default the class uses the Deflate compression method (a value of 0). Supported values are:
- 0 (cmDeflate - default)
- 1 (cmPPMd)
- 2 (cmBzip2)