VintaSoft Imaging .NET SDK 14.1: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing Namespace / WebChangePixelFormatToPaletteCommandJS type / set_QuantizationMethod Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    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);
    
    
    function set_QuantizationMethod(
    value
    An instance of WebColorQuantizationMethodEnumJS class. Default value is "AdvancedMedianCut".
    : WebColorQuantizationMethodEnumJS
    ) : any;

    Parameters

    value
    An instance of WebColorQuantizationMethodEnumJS class. Default value is "AdvancedMedianCut".
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Browser Compatibility
    56+
    45+
    11
    See Also