Does anyone on the list know about source code in Pascal for FlateDecode compression ? It is used in PNG images and in PDF files.
Regards,
Adriaan van Os
On 10 May 2004 at 0:20, Adriaan van Os wrote:
Does anyone on the list know about source code in Pascal for FlateDecode compression ? It is used in PNG images and in PDF files.
If it is the standard zlib stuff then there is PasZlib (which doesn't yet compile under GPC) because of the "initializers of packed arrays (emil5.pas) and variant records don't work" problem.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/
Adriaan van Os wrote:
Does anyone on the list know about source code in Pascal for FlateDecode compression ? It is used in PNG images and in PDF files.
I suggest to link to the existing C libraries (libz and/or libpng). I don't generally recommend translating standard libraries to Pascal. The C libraries are tested by more people and (usually) maintained, and writing a Pascal interface is much easier than translating the whole library (especially if only a small part of the library interface is actually needed, like in many cases I know).
Frank
On Mon, Mai 10, 2004 at 11:31:43 +0200, Frank Heckenbach wrote:
Adriaan van Os wrote:
Does anyone on the list know about source code in Pascal for FlateDecode compression ? It is used in PNG images and in PDF files.
I suggest to link to the existing C libraries (libz and/or libpng).
There is a zlib-unit available at
http://gnu-pascal.de/contrib/eike/
Eike