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);
function set_ExpandSupportedPixelFormats(
: boolean
) : any;
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
Exception | Description |
| Thrown if argument has wrong type. |
Browser Compatibility
See Also