VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing Namespace / WebCurvesCommandJS type / set_GreenMap Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_GreenMap Method
    In This Topic
    Sets the color map for the green channel of image.
    Syntax
    var instance = new Vintasoft.Imaging.ImageProcessing.WebCurvesCommandJS();
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: number[]
    
    returnValue = instance.set_GreenMap(value);
    
    
    function set_GreenMap(
    value
    Array map of green channel.
    : number[]
    ) : any;

    Parameters

    value
    Array map of green channel.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Thrown if argument length is not equal to 256.
    Thrown if array element is less than 0 or greater than 255.
    Browser Compatibility
    56+
    45+
    11
    See Also