VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.Pdf Namespace / WebPdfDocumentCompressorSettingsJS type / set_ColorDepthDetectionMaxInaccuracy Property
Syntax BrowserCompatibility SeeAlso
In This Topic
    set_ColorDepthDetectionMaxInaccuracy Method
    In This Topic
    Sets the maximum allowable inaccuracy, as distance in RGB888 color space, when comparing two colors.
    Syntax
    var instance = new Vintasoft.Imaging.Pdf.WebPdfDocumentCompressorSettingsJS();
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: number
    
    returnValue = instance.set_ColorDepthDetectionMaxInaccuracy(value);
    
    
    function set_ColorDepthDetectionMaxInaccuracy(
    value
    Valid values are from 0 to 442.

    0 means that command will search for unique colors in an image.
    Value from 1 to 442 means that command will search colors with permissible inaccuracy.
    Default value is 0.
    : number
    ) : any;

    Parameters

    value
    Valid values are from 0 to 442.

    0 means that command will search for unique colors in an image.
    Value from 1 to 442 means that command will search colors with permissible inaccuracy.
    Default value is 0.
    Browser Compatibility
    56+
    45+
    11
    See Also