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

17
LINES

< > BotCompany Repo | #1006645 // Show zoomed area around split line

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

Libraryless. Click here for Pure Java version (5018L/36K/130K).

!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;
    int x1 = p.x-100;
    int x2 = p.x+100;
    int y1 = y-100;
    int y2 = y+100;
    RGBImage img = rgbShootScreen();
    RGBImage img1 = img.clip(pointsRect(x1, y1, x2, y));
    RGBImage img2 = img.clip(pointsRect(x1, y, x2, y2));
    showZoomedImage("y=" + y, mergeImagesVertically(img1, img2));
  });
}

Author comment

Began life as a copy of #1006644

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: #1006645
Snippet name: Show zoomed area around split line
Eternal ID of this version: #1006645/1
Text MD5: 7652ea2afb6402ae8b2e5bf18ca85b4a
Transpilation MD5: e464b59f6ebc4a93161425ad8cbf59ae
Author: stefan
Category: javax / ocr
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-01-25 00:01:41
Source code size: 492 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 420 / 536
Referenced in: