← Back to team overview

sikuli-driver team mailing list archive

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

 

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

Description changed to:
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?

Siculix 1.1.4
OS Ubuntu 18.04

Thsnks

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