VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing Namespace / WebChangePixelFormatToBgrCommandJS type / set_PixelFormat Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
set_PixelFormat Method
In This Topic
Sets the destination pixel format.
Syntax
var instance = new Vintasoft.Imaging.ImageProcessing.WebChangePixelFormatToBgrCommandJS();

var returnValue; // Type: any

// Parameters
var value; // Type: WebPixelFormatEnumJS

returnValue = instance.set_PixelFormat(value);

Parameters

value
An instance of WebPixelFormatEnumJS class. Default value is "Bgr24".
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Thrown if argument value is "Undefined", "Indexed1", "BlackWhite", "Indexed4", "Indexed8" or "Gray8".
Browser Compatibility
56+
45+
11
See Also