VintaSoft Imaging .NET SDK v9.1 for Web
Vintasoft.Imaging.ImageProcessing Namespace / WebRemapColors16CommandJS type / set_ExpandSupportedPixelFormats Method
true - the processing command needs to convert the processing image to the nearest pixel format (WebImageProcessingCommandBaseJS.get_SupportedNativePixelFormats) without color loss; otherwise, false. Default value is false.
In This Topic
    set_ExpandSupportedPixelFormats Method
    In This Topic
    Sets a value indicating whether the command needs to convert an image to the nearest pixel format (WebImageProcessingCommandBaseJS.get_SupportedNativePixelFormats) without color loss if command does not support pixel format of image.
    Syntax
    var instance = new Vintasoft.Imaging.ImageProcessing.WebRemapColors16CommandJS();
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type:  boolean
    
    returnValue = instance.set_ExpandSupportedPixelFormats(value);
    function set_ExpandSupportedPixelFormats( 
       value : boolean
    ) : any;

    Parameters

    value
    true - the processing command needs to convert the processing image to the nearest pixel format (WebImageProcessingCommandBaseJS.get_SupportedNativePixelFormats) without color loss; otherwise, false. Default value is false.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Browser Compatibility
    9
    5
    15
    5
    See Also