← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #258340]: How to use sikuli operations on ScreenShot Image File (UNLIKE Screen Region)

 

Question #258340 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/258340

RaiMan proposed the following answer:
uups, my fault.

so again:
the mentioned solution using Image.create() is only available in version 1.1.0+

--- correct:
with version 1.1.0 this would be possible:

baseImg = Image.create("C:\Users\Admin\Desktop\FullScreenWebpage.png")
for m in mm:
    print m
    s = baseImg.getSub(m.x, m.y, 50, 50).asFile()
    shutil.move(s,r"<TargetPath>")

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.