Forum Discussion
okay, and what will be a difference between "Regions.FindRegion" and "Regions.Compare" for difference screen resolution? How can it slow my problem?
Region Compare is like valid by a pixel-by-pixel comparison
Region Find is like normal find
- lion_98 years agoOccasional Contributor
The Regions.FindRegion method searches pixel-by-pixel for one image, specified by the PictureToSearchFor parameter, within another, represented by the PictureToSearchIn parameter, and returns the rectangular area that corresponds to the found image.
The Regions.Compare method performs a pixel-by-pixel comparison of the two specified images. If the images are identical, the method returns True and posts an informative message to the test log. Otherwise, it returns False and logs the appropriate message along with both images.