Enum PngCompressionLevel
Provides enumeration of available PNG compression levels.
Namespace: SixLabors.ImageSharp.Formats.Png
Assembly: SixLabors.ImageSharp.dll
Syntax
public enum PngCompressionLevel
Fields
Name | Description |
---|---|
BestCompression | Best compression level. Equivalent to Level9. |
BestSpeed | Best speed compression level. |
DefaultCompression | The default compression level. Equivalent to Level6. |
Level0 | Level 0. Equivalent to NoCompression. |
Level1 | Level 1. Equivalent to BestSpeed. |
Level2 | Level 2. |
Level3 | Level 3. |
Level4 | Level 4. |
Level5 | Level 5. |
Level6 | Level 6. Equivalent to DefaultCompression. |
Level7 | Level 7. |
Level8 | Level 8. |
Level9 | Level 9. Equivalent to BestCompression. |
NoCompression | No compression. Equivalent to Level0. |