xzsetparams.vi

Dynamically update the compression level or strategy.

xzsetparams returns Z_OK if success, or Z_STREAM_ERROR if the file was not opened for writing.


Connector Pane

xzsetparams.vi


Controls and Indicators

cdlrn

file/in

"gz" filehandle from xzopen.

cenum

level

Compression level.

0: Default

1: No compression, store data only

2: Compression on highest speed

3..9

10: Best compression but slow

cenum

Strategy

ii32

Result

Z_OK or error-result.

idlrn

file/out