PngCompressionLevel

Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum

public final class PngCompressionLevel extends System.Enum

The png compression level enum.

Fields

FieldDescription
ZipLevel0The data will be simply stored, with no change at all.
ZipLevel1The fastest but least effective compression.
ZipLevel2A little slower, but better, than level 1.
ZipLevel3A little slower, but better, than level 2.
ZipLevel4A little slower, but better, than level 3.
ZipLevel5A little slower than level 4, but with better compression.
ZipLevel6A little slower than level 5, but with better compression.
ZipLevel7Better compression than level 6, but even slower.
ZipLevel8Better compression than level 7, but even slower.
ZipLevel9The “best” compression, where best means greatest reduction in size of the input data stream.
DeflateRecommendedThe most optimised compression, with a good balance of speed and compression efficiency.

ZipLevel0

public static final int ZipLevel0

The data will be simply stored, with no change at all. Uses a slower deflate implementation with a compression scale.

ZipLevel1

public static final int ZipLevel1

The fastest but least effective compression. Uses a slower deflate implementation with a compression scale.

ZipLevel2

public static final int ZipLevel2

A little slower, but better, than level 1. Uses a slower deflate implementation with a compression scale.

ZipLevel3

public static final int ZipLevel3

A little slower, but better, than level 2. Uses a slower deflate implementation with a compression scale.

ZipLevel4

public static final int ZipLevel4

A little slower, but better, than level 3. Uses a slower deflate implementation with a compression scale.

ZipLevel5

public static final int ZipLevel5

A little slower than level 4, but with better compression. Uses a slower deflate implementation with a compression scale.

ZipLevel6

public static final int ZipLevel6

A little slower than level 5, but with better compression. Uses a slower deflate implementation with a compression scale.

ZipLevel7

public static final int ZipLevel7

Better compression than level 6, but even slower. Uses a slower deflate implementation with a compression scale.

ZipLevel8

public static final int ZipLevel8

Better compression than level 7, but even slower. Uses a slower deflate implementation with a compression scale.

ZipLevel9

public static final int ZipLevel9

The “best” compression, where best means greatest reduction in size of the input data stream. This is also the slowest compression. Uses a slower deflate implementation with a compression scale.

DeflateRecommended

public static final int DeflateRecommended

The most optimised compression, with a good balance of speed and compression efficiency. Uses a faster deflate implementation with no compression scale.