Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

gimp

zlib

This topic is 6937 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Anyone out there have a nice little app that could demonstrate how zlib could be used to compress then decompress a hunk of data. I downloaded the code and was shocked by, like 15 files. All I wan''t is something like : compress(data); decompress(data); Do I really need all that stff that come with zlib? Is it the best library around for this kind of work. Thanks guys chris

Share this post


Link to post
Share on other sites
Advertisement
If you got a source code distribution of zlib, yes you do need all those files in order to build it. The only one that matters when using it is zlib.h. The functions are pretty well documented in there. Look for compress(), compress2() and uncompress() in the utility function section of zlib.h.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!