← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #680880]: Suddenly unable to load images (files) on Linux Ubuntu

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
the best way, to make your program robust for locating images is

ImagePath.setBundlePath(someBaseFolder)

where someBaseFolder is a path to a folder where the relative image file
names can be found.

Sorry for the inconvenience, but the image file name handling (and file
name handling generally) in SikuliX is not consistent all over the place
(to be polite to the developer ;-).

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