VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing Namespace / WebImageProcessingCommandBaseJS type / set_ExpandSupportedPixelFormats Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
set_ExpandSupportedPixelFormats Method
In This Topic
Sets a value indicating whether the command needs to convert an image to the nearest pixel format (WebImageProcessingCommandBaseJS.get_SupportedNativePixelFormats) without color loss if command does not support pixel format of image.
Syntax
var instance = new Vintasoft.Imaging.ImageProcessing.WebImageProcessingCommandBaseJS();

var returnValue; // Type: any

// Parameters
var value; // Type: boolean

returnValue = instance.set_ExpandSupportedPixelFormats(value);

Parameters

value
true - the processing command needs to convert the processing image to the nearest pixel format (WebImageProcessingCommandBaseJS.get_SupportedNativePixelFormats) without color loss; otherwise, false. Default value is false.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Browser Compatibility
56+
45+
11
See Also