← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #235137]: Cannot match an on-screen image while using a pattern created with BufferedImage

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Sorry for the effort you have put in this excellent research (but might
not have been in vain though ;-)

The usage of a BufferedImage to set up a Pattern already works, but the
find operation using such a pattern silently simply does nothing in the
moment, sorry.

I will implement it the next days and take your question as a request
bug meanwhile.

There is no other solution available currently for images inside a jar,
so your app would only work inside eclipse with regular image file names
relative to the project folder.

If you are in a hurry with the jar containing the images:
Just write the buffered image to a file outside the jar and use this filename (might always be the same for find operations not running in parallel - adds some 10 milliseconds). Hope you get the solution before going into production with your approach ;-)

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