← 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

    Status: Open => Answered

RaiMan proposed the following answer:
when using Java this should be handled directly in the while
(f.hasNext()) loop:

while (f.hasNext()) {
  Match m = f.next();
  Image baseImg = Image.create("C:\Users\Admin\Desktop\FullScreenWebpage.png");
  new File(baseImg.getSub(m.x, m.y, 50, 50).asFile()).rename(new File("<TargetPath>"))

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