← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #698028]: capture image without saving to disk

 

Question #698028 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/698028

    Status: Open => Answered

RaiMan proposed the following answer:
simply so ;-)
scrImg = cmdCapture() # ScreenImage
bufImg = scrImg.getImage() # BufferedImage
img = Image(bufImg) # Image

find(img).highlight(2)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.