New Forum | Previous | Next | (P-PDF) Developers
Topic: Zlib compression
Conf: (P-PDF) Developers, Msg: 51064
Date: 5/29/2002 04:42 PM
i am trying to replace the text in a pdf file which is using flate decode.
SO what i am doing is (All programmatically).
1) extract the original data between stream and end stream.
2) compressed the new data using zlib and pass in to stream and end stream,
it is not working, i am getting blank pdf.
what i have noticed is that the original compressed data is starting with H‰
and the one with zlib is starting with xœó`
that's why the pdf is not recognising.
am i correct? if yes , how can i overcome this problem.
Thanks in advance