VintaSoft Imaging .NET SDK 14.1: Documentation for Web developer
Vintasoft.Imaging Namespace / WebPngEncoderSettingsJS type / get_CompressionLevel Property
Syntax BrowserCompatibility SeeAlso
In This Topic
    get_CompressionLevel Method
    In This Topic
    Gets the compression level.
    Syntax
    var instance = new Vintasoft.Imaging.WebPngEncoderSettingsJS(filterMethod, compressionLevel);
    
    var value; // Type: number
    value = instance.get_CompressionLevel();
    
    
    function get_CompressionLevel() : number;
    

    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