RE: ideas on "reversing" the process for deflate code?

"Cooper, Jock" <[email protected]> Thu, 4 Sep 2003 13:40:33 -0700
Newsgroups gmane.lisp.open-source.franz
Message-ID <A74B5ED1B990D311803600508B2D84CB04AD4323@sagentexch01.sagepub.com>
I wound up using the ZLIB library (see www.zlib.org <http://www.zlib.org> ),
with small C and CL wrapper files to access the zip and unzip functionality
through FFI.  I have this working on Linux (CMU) and Windows (ACL), with not
a huge amount of effort.  Look in the contrib/minizip directory.

-----Original Message-----
From: Bill Davis [mailto:[email protected]] 
Sent: Thursday, September 04, 2003 12:08 PM
To: '[email protected]'
Subject: ideas on "reversing" the process for deflate code?



JKF's code to "inflate" a compressed stream is at
http://opensource.franz.com/deflate/index.html
<http://opensource.franz.com/deflate/index.html> 

 

As John's notes indicate that:

We have written the code to uncompress deflated files, which we call
Inflation. The source is available on our open source web site at
http://opensource.franz.com/deflate/index.html
<http://opensource.franz.com/deflate/index.html> . We will be adding code to
show how to turn a simple-stream into a stream that inflates its input. At
this point in time we have no plans to implement compression of files using
the deflate algorithm.

 

My question:  

Can anyone offer pointers or helpful insight on how one might be able to use
the above-reference code to reverse the process and perform the original
compression?  We ultimately want to come through a list of specific files
and generate a compressed file (as if we had manually does it with a
"WinZip" utility).  

 

Thanks in advance.