← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #258970]: [error] Image: could not be loaded

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
when using addImagePath(), you should use an absolute pathname  and make
sure, that it exists at run time.

simply use
ImagePath.addImagePath(new File(basepath, relativePath).getAbsolutePath());

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