Re: Anyway to COMPRESS RESOURCES???



Most zip libraries I know of use something along this style to allow arbitrary source and
desitnation for compression. That's why the Microsoft LZ functions are so strange,
allowing only files!
joe
On Mon, 21 May 2007 07:45:41 -0700, "Tom Serface" <tom.nospam@xxxxxxxxxxxxx> wrote:

Hi Joe,

We use Dynazip and it does allow memory to memory compression through a
stream metaphor. You do have to pay for the library, but I think it's
pretty much worth the cost.

Tom

"Joseph M. Newcomer" <newcomer@xxxxxxxxxxxx> wrote in message
news:4nnv43l96oq7puhms9b879h37au1kdikdh@xxxxxxxxxx
If you only need to support PNG, I'm reasonably certain it can be done in
less than 100K
bytes of code.

Note that if you are concerned with memory footprint, why are you worried
about trivial
sizes like 100K bytes of code? That's only 10% of the size of the MFC
DLL.

It is a very unfortunate misfeature of the LZ functions that they insist
on working on
files, instead of providing callbacks to get data.
joe
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.