e-CryptIt Engine - Compression Xojo Plugin

ZipArchiveWriter.CompressionMethodEnum Enum

Enum with constants that defines how much to compress. The lower compression value that is used the faster it gets but the file compresses less.

0 to 9 are standard compression levels where 9 is the most and 0 is no compression.

10 is less compatible compression strategy but compresses more in many cases.

enum ZipArchiveWriter.CompressionMethodEnum

Constants

COMPRESSION_0 = 0No compression - This constant is same as the one called NO_COMPRESSION
COMPRESSION_1 = 1Minimum compression - This constant is same as the one called BEST_SPEED
COMPRESSION_2 = 2Compression rank 2 on the scale 1 to 9
COMPRESSION_3 = 3Compression rank 3 on the scale 1 to 9
COMPRESSION_4 = 4Compression rank 4 on the scale 1 to 9
COMPRESSION_5 = 5Compression rank 5 on the scale 1 to 9
COMPRESSION_6 = 6Compression rank 6 on the scale 1 to 9 - This constant is same as the one called DEFAULT
COMPRESSION_7 = 7Compression rank 7 on the scale 1 to 9
COMPRESSION_8 = 8Compression rank 8 on the scale 1 to 9
COMPRESSION_9 = 9Maximum standard compression - This constant is same as the one called BEST_COMPATIBLE_COMPRESSION
COMPRESSION_LESS_COMPATIBLE_10 = 10Less compatible compression strategy but compresses more in many cases. - This constant is same as the one called BEST_COMPATIBLE_BUT_LESSCOMPATIBLE
NO_COMPRESSION = 0No compression - This constant is same as the one called COMPRESSION_0
BEST_SPEED = 1Minimum compression - This constant is same as the one called COMPRESSION_1
BEST_COMPATIBLE_COMPRESSION = 9Maximum standard compression - This constant is same as the one called COMPRESSION_9
BEST_COMPRESSION_BUT_LESSCOMPATIBLE = 10Less compatible compression strategy but compresses more in many cases. This constant is same as the one called COMPATIBLE_LESS_COMPATIBLE_10
DEFAULT = 6The default setting - This constant is same as the one called COMPRESSION_6