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:
Parameter
Description
zoomFactor
Type: Double
The Bounds ResultRectangle corresponding to the desired search rectangle.
[interpolationMode]
Type: InterpolationMode How the screen image shall be interpolated during scaling.
[smoothingMode]
Type: SmoothingMode How the screen image shall be smoothed during scaling.
[pixelOffsetMode]
Type: PixelOffsetMode
Specifies how pixels are offset during scaling.
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