VASmalltalk – Initial zLib wrapper

I needed initial support for in-memory compression/uncompression. Though I had wrapped this stuff already in my FreeImage library wrapper I wanted to have a standalone wrapper with a much smaller shared library (the freeImage library is a pretty large library with > 1 MB size).

Therefore I wrapped four functions within “zlibwapi.dll” to get initial support for compression/uncompression: compress. compress2, compressBound and uncompression. These functions are identical in behaviour like for example the wrapped call “compress”, which is also available in MSKFreeImageLibraryWrapper>>”apiZlibCompress:targetSize:source:sourceSize:”. But additional I added a high level Smalltalk interface

The wrapped library (for Windows) is included as a resource in the repository, when you download it from vastgoodies. You therefore may use the ResourceManager to extract the file from the repository.

This is work in development …

This entry was posted in Smalltalk. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s