← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #216128]: screenshot comparison

 

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

RaiMan proposed the following answer:
@Gaurav

Python modules can only be used in Sikuli, if they only contain Python code.
PIL is partly C-based, so cannot be used.

workaround with Sikuli (based on the contained Java stuff):

bufferedImage = Pattern("some-image.png").getImage()
h = bufferedImage.getHeight()
w = bufferedImage.getWidth()

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