Changeset 52200 in vbox for trunk/src/VBox/Frontends/VBoxShell/vboxshell.py
- Timestamp:
- Jul 25, 2014 8:00:49 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 95260
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxShell/vboxshell.py
r50711 r52200 556 556 557 557 print "Saving screenshot (%d x %d) screen %d in %s..." % (w, h, screen, f) 558 data = display.takeScreenShotToArray(screen, w, h )558 data = display.takeScreenShotToArray(screen, w, h, ctx['const'].BitmapFormat_RGBA) 559 559 size = (w, h) 560 560 mode = "RGBA" … … 583 583 584 584 print "Saving screenshot (%d x %d) screen %d in %s..." % (w, h, screen, f) 585 data = display.takeScreenShot PNGToArray(screen, w, h)585 data = display.takeScreenShotToArray(screen, w, h, ctx['const'].BitmapFormat_PNG) 586 586 pngfile = open(f, 'wb') 587 587 pngfile.write(data)
Note:
See TracChangeset
for help on using the changeset viewer.