← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #643668]: vnc.capture

 

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

David ENJOLRAS posted a new comment:
Found the issues :

1) ==> If I comment the "vnc.wait" line, then the capture is a black image
We indeed need a small wait, a simple sleep(1) after vncstart if engouth to get ride of this issue

2) ==> With the vnc.wait, I have an image, but such resulting image is a strech from the supposed image.
Bug is in 

VNCFrameBuffer::getImage
I've replace the old code by
i = image.getSubimage(x, y, w, h);
and this is now working well.

==> Could you validate/commit this modification ?

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