Rainer Stratmann wrote:
For a Webserver I need to create the png graphics format.

I want to use as little external components as possible.

Has someone experience with the zlib format or specification?
Can it be used without allocating memory?
Or with a given memoryblock for operation?

zlib's compress2 operates on memory blocks that you give it, but I am not sure whether it allocates temporary buffers. Note that I tried FPC's zlib but it crashed on Windows. Instead, on Windows, I am linking to

{$linklib Libs/mingw/libz.a}
{$linklib Libs/mingw/libmsvcrt.a}
{$linklib Libs/mingw/libgcc.a}

On the Mac, zlib is part of the system software.

Regards,

Adriaan van Os

_______________________________________________
fpc-pascal maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to