VintaSoft Imaging .NET SDK 15.2: Documentation for Web developer
Vintasoft.Imaging Namespace / WebJpegEncoderSettingsJS type / get_SaveAsGrayscale Property
Syntax BrowserCompatibility SeeAlso
In This Topic
get_SaveAsGrayscale Method
In This Topic
Gets a value indicating whether color images will be saved as grayscale JPEG files.
Syntax
var instance = new Vintasoft.Imaging.WebJpegEncoderSettingsJS(quality);

var value; // Type: boolean
value = instance.get_SaveAsGrayscale();

Return Value

True - color images will be saved as grayscale JPEG files; false color images will be saved as color JPEG files. Default value is false.
Browser Compatibility
56+
45+
11
See Also