Zlib compression of a memorybuffer [Resolved]

Linux specific forum
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3943
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Zlib compression of a memorybuffer [Resolved]

Post by wilbert »

How can I compress a memorybuffer using zlib compression on Linux ?

I tried LoadLibrary("libz.so") but if I use the purebasic functions to examine the library I get zero library functions.

Edit:
I found a way to do it using the PNGImagePlugin.
The solution is posted in the Tips 'n' Tricks forum.