Extracted from Pike v7.4 release 35 at 2003-12-09.
pike.ida.liu.se
[Top]
predef::
Gz
Gz._file

Method Gz._file()->setparams()


Method setparams

int setparams(int level, int strategy)

Description

Sets the encoding level and strategy

Parameter level

Level of the compression. 0 is the least compression, 9 is max. 8 is default.

Parameter strategy

Set strategy for encoding to one of the following: Z_DEFAULT_STRATEGY Z_FILTERED Z_HUFFMAN_ONLY

Note

Not supported on all operating systems.