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);
function set_PixelFormat(
: WebPixelFormatEnumJS
) : any;
Parameters
- value
- An instance of WebPixelFormatEnumJS class. Default value is "Bgr24".
Exceptions
Exception | Description |
| Thrown if argument has wrong type. |
| Thrown if argument value is "Undefined", "Indexed1", "BlackWhite", "Indexed4", "Indexed8" or "Gray8". |
Browser Compatibility
See Also