Lines Matching refs:preset
36 .. function:: open(filename, mode="rb", \*, format=None, check=-1, preset=None, filters=None, encod…
52 and *preset* arguments should not be used.
54 When opening a file for writing, the *format*, *check*, *preset* and
72 .. class:: LZMAFile(filename=None, mode="r", \*, format=None, check=-1, preset=None, filters=None)
97 and *preset* arguments should not be used.
99 When opening a file for writing, the *format*, *check*, *preset* and
133 .. class:: LZMACompressor(format=FORMAT_XZ, check=-1, preset=None, filters=None)
173 The compression settings can be specified either as a preset compression
174 level (with the *preset* argument), or in detail as a custom filter chain
177 The *preset* argument (if provided) should be an integer between ``0`` and
179 :const:`PRESET_EXTREME`. If neither *preset* nor *filters* are given, the
180 default behavior is to use :const:`PRESET_DEFAULT` (preset level ``6``).
188 to decompress). With preset ``9`` for example, the overhead for an
190 it is generally best to stick with the default preset.
290 .. function:: compress(data, format=FORMAT_XZ, check=-1, preset=None, filters=None)
296 *preset* and *filters* arguments.
356 * ``preset``: A compression preset to use as a source of default values for
431 {"id": lzma.FILTER_LZMA2, "preset": 7 | lzma.PRESET_EXTREME},