VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging Namespace / WebPngEncoderSettingsJS type / get_CompressionLevel Property
Syntax BrowserCompatibility SeeAlso
get_CompressionLevel Method
Gets the compression level.
Syntax
var instance = new Vintasoft.Imaging.WebPngEncoderSettingsJS(filterMethod, compressionLevel);

var value; // Type: number
value = instance.get_CompressionLevel();

Return Value

The compression level. Possible values: from 0 to 9 (0 - no compression, 1 - best speed, 9 - best compression.). Default value is 6.
Browser Compatibility
56+
45+
11
See Also