VintaSoft Imaging .NET SDK 15.2: Documentation for Web developer
Vintasoft.Imaging Namespace / WebWebpEncoderSettingsJS type / set_Quality Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
set_Quality Method
In This Topic
Sets a quality factor in percents.
Syntax
var instance = new Vintasoft.Imaging.WebWebpEncoderSettingsJS();

var returnValue; // Type: any

// Parameters
var value; // Type: number

returnValue = instance.set_Quality(value);

Parameters

value
Quality factor in percents. Valid values are from 0 to 100. Recommended values are from 40 to 80. Default value is 75.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Browser Compatibility
56+
45+
11
See Also