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

var returnValue; // Type: any

// Parameters
var value; // Type: number

returnValue = instance.set_JpegQuality(value);

Parameters

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