Download Jar. Uses 3874K of libraries. Click here for Pure Java version (9658L/68K).
!7 p { magellan(); BufferedImage img = shootScreenHidingConsole(); Rect r = ocr_findTerminalBackground(new RGBImage(img)); if (r == null) ret with print("no terminal"); final BufferedImage terminal = clipBufferedImage(img, r); final HGridFinderGUI gui = new(terminal); gui.show(); addToWindow(gui.is, jcenteredbutton("OK", r { final int gui_ww = gui.ww; // fix program final VGridFinderGUI gui2 = new(gui.is.getImage()); gui2.show(); addToWindow(gui2.is, jcenteredbutton("OK", r { infoBox("Got: " + gui_ww + "*" + gui2.ww); })); })); }
Began life as a copy of #1015495
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: | #1015497 |
Snippet name: | Find terminal, select h & v grid (OK) |
Eternal ID of this version: | #1015497/17 |
Text MD5: | c40c6b9d3e7d2c534b8a66b6e4dbc7ac |
Transpilation MD5: | 78c555d5b3fd82f45d601b0f255bd7cf |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-17 03:24:37 |
Source code size: | 602 bytes / 20 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 432 / 1198 |
Version history: | 16 change(s) |
Referenced in: | [show references] |