Download Jar. Uses 3874K of libraries. Click here for Pure Java version (9658L/68K).
1 | !7 |
2 | |
3 | p {
|
4 | magellan(); |
5 | BufferedImage img = shootScreenHidingConsole(); |
6 | Rect r = ocr_findTerminalBackground(new RGBImage(img)); |
7 | if (r == null) ret with print("no terminal");
|
8 | |
9 | final BufferedImage terminal = clipBufferedImage(img, r); |
10 | final HGridFinderGUI gui = new(terminal); |
11 | gui.show(); |
12 | addToWindow(gui.is, jcenteredbutton("OK", r {
|
13 | final int gui_ww = gui.ww; // fix program |
14 | final VGridFinderGUI gui2 = new(gui.is.getImage()); |
15 | gui2.show(); |
16 | addToWindow(gui2.is, jcenteredbutton("OK", r {
|
17 | infoBox("Got: " + gui_ww + "*" + gui2.ww);
|
18 | })); |
19 | })); |
20 | } |
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: | 664 / 1646 |
| Version history: | 16 change(s) |
| Referenced in: | [show references] |