VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging Namespace / WebPngEncoderSettingsJS type / set_CompressionLevel Property
Syntax BrowserCompatibility SeeAlso
In This Topic
    set_CompressionLevel Method
    In This Topic
    Sets the compression level.
    Syntax
    var instance = new Vintasoft.Imaging.WebPngEncoderSettingsJS(filterMethod, compressionLevel);
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: number
    
    returnValue = instance.set_CompressionLevel(value);
    
    
    function set_CompressionLevel(
    value
    The compression level. Possible values: from 0 to 9 (0 - no compression, 1 - best speed, 9 - best compression.). Default value is 6.
    : number
    ) : any;

    Parameters

    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