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

    Parameters

    value
    Array map of red 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