← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #235137]: [1.0.1] Java: Pattern(BufferedImage) is not found (silently does nothing) --- usage: load images from jar

 

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

RaiMan posted a new comment:
@Deses
pls go to the related bug and subscribe to it.
I have already implemented getting images from a jar and use them with find() as buffered images and other features that internally use find() (findAll, observe and some minor aspects have to be adapted still).
The usage is rather convenient, since with one setImagePath() you can say, which jar on the classpath to use by just giving a classname and for the cases you do not run from the jar (e.g. when running/debugging in the IDE) you can give an alternate file path to load the images from.
so a find("images/some_image.png") will work in both cases.

I am a little bit behind, but hope I can give you something to test
latest on monday.

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