Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1033428 // testMultiResolutionCapture [does just a normal screenshot on Linux]

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (5565L/31K).

svoid testMultiResolutionCapture() ctex {
  new Robot robot;
  Rectangle r = toRectangle(secondScreenBounds());
  print(+r);
  var mri = benchFor1Second(-> {
    //sleep(30);
    ret robot.createMultiResolutionScreenCapture(r);
  });
  pnl(mri.getResolutionVariants());
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033428
Snippet name: testMultiResolutionCapture [does just a normal screenshot on Linux]
Eternal ID of this version: #1033428/2
Text MD5: cafcdfcb1d2420bfab6a2da41bd959c6
Transpilation MD5: 01f7b242d85794ffaefc360195ce4df8
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-27 13:37:33
Source code size: 280 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 91 / 127
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)