[1.0.1] Use buffered image object instead of a file path --- will be available with version 1.1.0
Hello,
I'm using the Sikuli Java API.
Because I have several small pattern images and which are used multiple times in a program run, I need to load the images from memory, instead of accessing the disk several times. The images are small in size, totaling max 1MB.
I have tried with
Pattern.
after initializing the Pattern with a null reference. But when I run the program, it throws find failed exception: Image null cannot be found on disk.
Is there a way to encapsulate the image object in the pattern object?
I don't want the Pattern to read the image from disk every time.
Thank you!
Bogdan T.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- RaiMan Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Bogdan T. for more information if necessary.