ZLib Compression

BlitzMax Forums/BlitzMax Beginners Area/ZLib Compression

Stuart Morgan(Posted 2005) [#1]
Hi. I am trying to use the ZLib module to compress a basic file that contains one string although I am having little success.

Do you create the file stream and then read each individual byte of the stream through the Compress command? I am very confused...

Can anyone post a basic example on how to create a file and then compress it?

Thanks in advance.


Yan(Posted 2005) [#2]
I've added some info to the [a http://blitzwiki.org/index.php/Category:ZLib]BlitzWiki[/a] that may be of some help.


Stuart Morgan(Posted 2005) [#3]
Thanks thats very helpful! :-)