\PhpZip\ConstantsZipCompressionLevel

Compression levels for Deflate and BZIP2.

{@see https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT} Section 4.4.4:

For Methods 8 and 9 - Deflating

Bit 2 Bit 1 0 0 Normal (-en) compression option was used. 0 1 Maximum (-exx/-ex) compression option was used. 1 0 Fast (-ef) compression option was used. 1 1 Super Fast (-es) compression option was used.

Different programs encode compression level information in different ways:

Deflate Compress Level pkzip zip 7z, WinRAR WinZip


Super Fast compression 1 1 Fast compression 2 1, 2 Normal Compression 3 - 8 (5 default) 3 - 7 1 - 9 Maximum compression 9 8, 9 9

Summary

Methods
Constants
No public methods found
SUPER_FAST
FAST
NORMAL
MAXIMUM
No protected methods found
N/A
No private methods found
N/A

Constants

SUPER_FAST

SUPER_FAST = 1 : int

FAST

FAST = 2 : int

NORMAL

NORMAL = 5 : int

MAXIMUM

MAXIMUM = 9 : int