pike.ida.liu.se
Search for
Home > Docs > Pike reference

[Top]
Gz
Gz._file

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: DEFAULT_STRATEGY FILTERED HUFFMAN_ONLY

Module reference for Pike v7.8 release 116, 2008-12-31