New Forum | Previous | Next | (P-PDF) Developers
Topic: Re: Need help on Zlib
Conf: (P-PDF) Developers, Msg: 57773
Date: 5/29/2002 05:28 PM
At 12:32 AM 11/15/2001 +1100, p-pdf-developer Listmanager wrote:
>Does anybody know that which function is used by pdf for flate compression
>(Encoding) in ZLIB? I have noticed that there are different functions
>available (in this link http://www.gzip.org/zlib/manual.html#deflateInit) ?
There's nothing special.
You call deflateInit() to start, deflate() for each chunk of data
(with Z_NO_FLUSH set), and then deflateEnd() when you are done.