Resize

Resizes the screen image for cases where the search image was captured on a system with different resolution or dpi. Implements IImageFilter. See IImageFilter for general information about Filters.

Namespace: Progile.ATE.TestFramework

Constructor

Creates a new Resize Filter instance with the desired zoomFactor.

Syntax:

public Resize(
    double zoomFactor,
    InterpolationMode interpolationMode = InterpolationMode.HighQualityBicubic,
    SmoothingMode smoothingMode = SmoothingMode.HighQuality,
    PixelOffsetMode pixelOffsetMode = PixelOffsetMode.HighQuality
)

Methods

By

Static method to create a new Resize Filter instance with the desired zoomFactor. Identical to Constructor.

Apply

Applies the filter to the input image. Used internally.

Reverse

Transforms the coordinates of a ResultRectangle (produced by an image search with this filter applied) back to the original reference frame of the screen of the current SUT. Used internally.

Properties

Name

The name of the filter type, i.e. "RESIZE".

Syntax: public string Name => "RESIZE";

Last updated