Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us

FlexCompress.CompressionAlgorithm

FlexCompress

Previous  Top  Next

Specifies the compression algorithm used for archive updating.

 

[C#]

public ComponentAce.Compression.FlexCompress.CompressionAlgorithm CompressionAlgorithm { get; set; }

 
public enum CompressionAlgorithm

{

  ZLIB,

  BZIP,

  PPM        

}

 

[VB.NET]

Public Property CompressionAlgorithm As CompressionAlgorithm

 

Public Enum CompressionAlgorithm

  ' Fields

  ZLIB = 0

  BZIP = 1

  PPM = 2  

End Enum

 

Description

 

Use this property to specify the compression algorithm used for adding, moving or updating files.

TFlexCompress provides three different compression algorithms that gives you a great opportunity of tuning compression rate for different type of files or computers. You can read more about them in Compression algorithms topic.

 

However we recommend you to runs some tests before you will use FlexCompress in your applications. It will help you to optimize your application for your needs.

 

Set CompressionAlgorithm to desired value before adding, moving or updating files.

CompressionAlgorithm can be set to any of the following values:

 

Value                            

Meaning                                                                                  

ZLIB

Deflate algorithm used in ZIP and ZLIB

BZIP

BZIP algorithm, better compression rate then Deflate and fast decompression

PPM

PPM algorithm, better compression rate then BZIP and rather slow (not implemented yet)

 

 

        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Nov 21, 2024