Chilkat
HOME
Android™
ASP
Visual Basic
VB.NET
C#
iOS (IPhone)
Objective-C
C++
C
MFC
Delphi
FoxPro
Java
Perl
PHP Extension
PHP ActiveX
Python
PowerShell
Ruby
SQL Server
VBScript
.Z Unix Compression (LZW)
Delphi sample code to .Z compress a file using the LZW compression algorithm. // UNIX compress compress a file. // In this example, we create hamlet.xml.Z from hamlet.xml // The hamlet.xml test data file is available at // http://www.chilkatsoft.com/testData/hamlet.xmlprocedure // The UnixCompress component uses LZW compression. procedure TForm1.Button17Click(Sender: TObject); begin // The UnixCompress object is included with the Chilkat Zip license. UnixCompress1.UnlockComponent('anything for 30-day trial'); UnixCompress1.CompressFile('hamlet.xml','hamlet.xml.Z'); end;
|
© 2000-2010 Chilkat Software, Inc. All Rights Reserved.