Title: Extracting FlateEncoded data

I have a need to expand data streams that are FlateEncoded in a PDF (I'm trying to verify content of PDF's created dynamically by a third-party package).  I've downloaded the ZLIB.dll and I'm using it.  I can get it to compress and de-compress strings that I enter into a simple interface but if I try to cut and paste a stream out of a PDF file I don't get the result that I'm looking for (generally I get nothing or garbage).  I'm guessing that either there's header information in the stream data that I need to pull out before I try to inflate the data and/or that I'm not handling carriage-return line-feeds properly. 

Can someone point me in the right direction?


Christopher K. Campbell
Product Development Manager
eSolutions Unit
Ancor Information Management
http://www.ancorinfo.com
mailto:[EMAIL PROTECTED]

Reply via email to