[Lazarus] Zipfiles using Paszlib...

Sergei Gorelkin sergei_gorelkin at mail.ru
Sat Feb 14 17:44:10 CET 2009


Lee Jenkins wrote:
> 
> I'm confused.  Does TZipper produce pkZIP compatible files or is it zlib based 
> and only called TZipper?
> 
Yes, it produces pkZIP compatible files and yes, it uses zlib for 
compression.
.zip file format deals only with overall archive file structure 
(headers, directories, etc). Each individual file within .zip archive 
may be compressed using its own method, or even not compressed at all.
The most popular compression format used in .zip files is 'deflate', 
which is handled perfectly well with zlib. The difference with .gz 
format is only that compressed stream is written without .gz header.

Regards,
Sergei



More information about the Lazarus mailing list