VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging Namespace / WebJpeg2000EncoderSettingsJS type / get_CompressionRatio Property
Syntax Remarks BrowserCompatibility SeeAlso
In This Topic
get_CompressionRatio Method
In This Topic
Gets the compression rate for the image.
Syntax
var instance = new Vintasoft.Imaging.WebJpeg2000EncoderSettingsJS();

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

Return Value

The compression rate for the image. Valid values are greater than or equal to 1.0. Default value is 20.
Remarks

This value has effect only if get_CompressionType is set to "Lossy" and get_FileSize is less than or equal to 0.

Browser Compatibility
56+
45+
11
See Also