PngCompressionLevel Enumeration

The png compression level enum.

Module: aspose.imaging.imageoptions

Full Name: aspose.imaging.imageoptions.PngCompressionLevel

Members

Member nameDescription
DEFLATE_RECOMENDEDThe most optimised compression, with a good balance of speed and compression efficiency.
Uses a faster deflate implementation with no compression scale.
ZIP_LEVEL0The data will be simply stored, with no change at all.
Uses a slower deflate implementation with a compression scale.
ZIP_LEVEL1The fastest but least effective compression.
Uses a slower deflate implementation with a compression scale.
ZIP_LEVEL2A little slower, but better, than level 1.
Uses a slower deflate implementation with a compression scale.
ZIP_LEVEL3A little slower, but better, than level 2.
Uses a slower deflate implementation with a compression scale.
ZIP_LEVEL4A little slower, but better, than level 3.
Uses a slower deflate implementation with a compression scale.
ZIP_LEVEL5A little slower than level 4, but with better compression.
Uses a slower deflate implementation with a compression scale.
ZIP_LEVEL6A little slower than level 5, but with better compression.
Uses a slower deflate implementation with a compression scale.
ZIP_LEVEL7Better compression than level 6, but even slower.
Uses a slower deflate implementation with a compression scale.
ZIP_LEVEL8Better compression than level 7, but even slower.
Uses a slower deflate implementation with a compression scale.
ZIP_LEVEL9The “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.