← Back to team overview

sikuli-driver team mailing list archive

[Bug 577610] Re: capture(region) gives (partly) black images

 

** Changed in: sikuli
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/577610

Title:
  capture(region) gives (partly) black images

Status in Sikuli:
  Fix Released

Bug description:
  All of my temporary screen captures in the c:\...\temp folder are
  black rectangles. Every capture that is manually done is saved
  correctly in the project folder, but find() functions performed on
  dynamic capture() calls all fail because the temp captures are all
  just blank, black screens.

  I've been using "print capture([region])" to get file names and when I
  check them, they turn up as black rectangles unless the region
  contains all or most of the region containing the sikuli IDE. If the
  region contains less than about half of the sikuli IDE, it is a black
  rectangle. If it contains only a portion of the sikuli IDE, then it is
  partially black and sometimes partially populated with a screenspace
  other than the intended region. if the region contains the entire
  sikuli IDE the screenshot is captured correctly and contains no areas
  of blackness.

  Setup info:
  -most recent sikuli release (downloaded a few days ago)
  -Win 7 ultimate 64-bit. 
  -Sikuli has full permissions and is being run in admin mode. 
  -tried running in compatibility for XP and Vista (most recent service packs). 
  -using an nVidia 8600GTS and have the most recent drivers. 
  -resolution is set to 1680x1050.

  The issue here seems to be similar to what was reported in
  https://answers.launchpad.net/sikuli/+question/105160

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/577610/+subscriptions