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
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
)
Parameter | Description |
zoomFactor | The Bounds ResultRectangle corresponding to the desired search rectangle. |
[interpolationMode] | |
[smoothingMode] | |
[pixelOffsetMode] | Specifies how pixels are offset during scaling. |
Static method to create a new Resize Filter instance with the desired zoomFactor. Identical to Constructor.
Applies the filter to the input image. Used internally.
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.
The name of the filter type, i.e. "RESIZE".
Syntax:
public string Name => "RESIZE";
Last modified 3yr ago