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

13
LINES

< > BotCompany Repo | #1006644 // Split screen at line user clicks on

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

Libraryless. Click here for Pure Java version (4990L/36K/129K).

!7

p {
  final JWindow window = showAnim("#1005611", "Please click on a line to split at");
  trackOneClick(voidfunc(Point p) {
    window.dispose();
    int y = p.y;
    RGBImage img = rgbShootScreen();
    showImage("y=" + y, mergeImagesVertically(
      img.clip(0, 0, img.w(), y),
      img.clip(0, y, img.w(), img.h()-y)));
  });
}

Author comment

Began life as a copy of #1006643

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: #1006644
Snippet name: Split screen at line user clicks on
Eternal ID of this version: #1006644/1
Text MD5: 3b4de9f70c750b5abce193d84b6d3b0b
Transpilation MD5: 0b539228de0c4aeeb1da19370780097c
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 23:47:50
Source code size: 349 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 494 / 587
Referenced in: #1006645 - Show zoomed area around split line