New Forum | Previous | Next | (P-PDF) Developers
Topic: uncompressing FlateDecode
Conf: (P-PDF) Developers, Msg: 103540
Date: 1/9/2004 07:58 AM
I'm tring to uncompress the data that is compressed using the filter FlateDecode. The way I'm collecting the compressed data is:
I take the next character after the newline after the stream and copy all the data till endstream. This is how I get the length of the uncompressed data. Now, I am using the inflateInit2 (with -MAX_WBITS as window size) and then I try to inflate the data. I get an error Z_DATA_ERROR. Can anybody help?