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

9
LINES

< > BotCompany Repo | #1006643 // Split screen at random line

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (4846L/34K/121K).

!7

p {
  RGBImage img = rgbShootScreen();
  int y = random(img.h());
  showImage("y=" + y, mergeImagesVertically(
    img.clip(0, 0, img.w(), y),
    img.clip(0, y, img.w(), img.h()-y)));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1006643
Snippet name: Split screen at random line
Eternal ID of this version: #1006643/1
Text MD5: 599702640ced910e3e58ca908e3b49fd
Transpilation MD5: 03cd2b640dbed713d653a8b2c8ab3f01
Author: stefan
Category: javax / ocr
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-01-24 22:44:10
Source code size: 198 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 416 / 458
Referenced in: [show references]