sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #15015
Re: [Question #216128]: screenshot comparison
Question #216128 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/216128
Status: Open => Answered
RaiMan proposed the following answer:
f = Finder("some-image.png")
f.find("some-other-image.png")
if f.hasNext():
print "equal"
else:
print "not equal"
the some-other-image.png must be contained in some-image.png, meaning
width must be equal or smaller AND height must be equal or smaller.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.