← Back to team overview

sikuli-driver team mailing list archive

[Question #679594]: "vncStart" find image issue

 

New question #679594 on Sikuli:
https://answers.launchpad.net/sikuli/+question/679594

Sorry for my English.

Below my script:
##############################################
from sikuli import *
from image import *
scr = vncStart("192.168.124.149",5900,10,1000)
sleep(2)
scr. click(image_button)
#screenshot = scr.capture()
#screenshot.save("/tmp/")
##############################################

The image_button can't be found. When I use “scr.capture()“ to capture and save the screenshot, I found that the image was bad. There are many stripes on the picture. It's only 80Kb in size.
Using the Linux screenshot command, the original image size should be about 2M

How to set up VNC(vncStart) to use the original image?

Thsnks

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