set_QuantizationMethod Method
In This Topic
Sets a color quantization method.
Syntax
var instance = new Vintasoft.Imaging.ImageProcessing.WebChangePixelFormatToPaletteCommandJS();
var returnValue; // Type: any
// Parameters
var value; // Type: WebColorQuantizationMethodEnumJS
returnValue = instance.set_QuantizationMethod(value);
Parameters
- value
- An instance of WebColorQuantizationMethodEnumJS class. Default value is "AdvancedMedianCut".
Exceptions
| Exception | Description |
| Thrown if argument has wrong type. |
Browser Compatibility
See Also