← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #168444]: How to pass images stored in a db in click/find functions using java code

 

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

    Status: Needs information => Open

Nick Moutsios gave more information on the question:
Thanks for the reply RaiMan, so what i am trying to do is this:

BufferedImage bImg = dbImg.toBufferedImage();
Pattern target = new Pattern(bImg);
screen.click(target);

I am getting "The constructor Pattern(BufferedImage) is undefined"
Although the documentation and the source code says otherwise...

Is there any other way i can pass the image as the target?

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