Extracted from Pike v7.3 release 53 at 2002-09-10.
pike.ida.liu.se
[Top]
Gz
Gz.gzip_file

Method Gz.gzip_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