← Back to team overview

sikuli-driver team mailing list archive

[Question #237477]: how to crop image in Sikuli?

 

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

I am using 64-bit latest Sikuli IDE (python).

I am testing a GUI application, which has a flashing screen for about 3 seconds.  On the screen there are some important contents (texts and numbers) on very local areas.  If I compare region-by-region in real time, I will not have enough time.  So I need to capture the screen.  

If I compare the whole screen, I will not able to see the local differences.  Besides, because I am doing a regression test, saving a lot of whole screens takes too much space.  I wonder if I can in real-time crop smaller images from the captured screen and then 1) either save them as baseline or 2) compare them with the baseline?


Thanks,
CP


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