**Inheritance:**
java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum
```
public final class PngCompressionLevel extends System.Enum
```

png 压缩级别枚举。
## 字段

| 字段 | 描述 |
| --- | --- |
| [ZipLevel0](#ZipLevel0) | 数据将被简单存储，完全不做任何更改。 |
| [ZipLevel1](#ZipLevel1) | 最快但效果最差的压缩。 |
| [ZipLevel2](#ZipLevel2) | 比级别 1 稍慢一点，但更好。 |
| [ZipLevel3](#ZipLevel3) | 比级别 2 稍慢一点，但更好。 |
| [ZipLevel4](#ZipLevel4) | 比级别 3 稍慢一点，但更好。 |
| [ZipLevel5](#ZipLevel5) | 比级别 4 稍慢一点，但压缩效果更好。 |
| [ZipLevel6](#ZipLevel6) | 比级别 5 稍慢一点，但压缩效果更好。 |
| [ZipLevel7](#ZipLevel7) | 比级别 6 压缩效果更好，但更慢。 |
| [ZipLevel8](#ZipLevel8) | 比级别 7 压缩效果更好，但更慢。 |
| [ZipLevel9](#ZipLevel9) | “最佳” 压缩，其中最佳指输入数据流大小的最大减小。 |
| [DeflateRecommended](#DeflateRecommended) | 最优化的压缩，在速度和压缩效率之间取得良好平衡。 |
### ZipLevel0 {#ZipLevel0}
```
public static final int ZipLevel0
```


数据将被简单存储，完全不做任何更改。使用带有压缩比例的较慢的 deflate 实现。

### ZipLevel1 {#ZipLevel1}
```
public static final int ZipLevel1
```


最快但效果最差的压缩。使用带有压缩比例的较慢的 deflate 实现。

### ZipLevel2 {#ZipLevel2}
```
public static final int ZipLevel2
```


比级别 1 稍慢一点，但更好。使用带有压缩比例的较慢的 deflate 实现。

### ZipLevel3 {#ZipLevel3}
```
public static final int ZipLevel3
```


比级别 2 稍慢一点，但更好。使用带有压缩比例的较慢的 deflate 实现。

### ZipLevel4 {#ZipLevel4}
```
public static final int ZipLevel4
```


比级别 3 稍慢一点，但更好。使用带有压缩比例的较慢的 deflate 实现。

### ZipLevel5 {#ZipLevel5}
```
public static final int ZipLevel5
```


比级别 4 稍慢一点，但压缩效果更好。使用带有压缩比例的较慢的 deflate 实现。

### ZipLevel6 {#ZipLevel6}
```
public static final int ZipLevel6
```


比等级5稍慢一些，但压缩效果更好。使用较慢的 deflate 实现并带有压缩比例。

### ZipLevel7 {#ZipLevel7}
```
public static final int ZipLevel7
```


比等级6压缩更好，但更慢。使用较慢的 deflate 实现并带有压缩比例。

### ZipLevel8 {#ZipLevel8}
```
public static final int ZipLevel8
```


比等级7压缩更好，但更慢。使用较慢的 deflate 实现并带有压缩比例。

### ZipLevel9 {#ZipLevel9}
```
public static final int ZipLevel9
```


“最佳”压缩，其中“最佳”指对输入数据流大小的最大减小。这也是最慢的压缩。使用较慢的 deflate 实现并带有压缩比例。

### DeflateRecommended {#DeflateRecommended}
```
public static final int DeflateRecommended
```


最优化的压缩，在速度和压缩效率之间取得良好平衡。使用更快的 deflate 实现且不带压缩比例。

