Libraryless. Click here for Pure Java version (5279L/38K/134K).
!752 p-awt { final BufferedImage screen = shootScreenHidingConsole(); final ImageSurface is = new ImageSurface(screen); showMaximizedFrame("Quick Screen Select", jscroll(is)); onMouseRelease(is, r { Rectangle r = is.getSelection(); if (r == null) ret; disposeFrame(is); showImage(clipBufferedImage(screen, r)); }); awt { is.zoomToDisplaySize(); } }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006153 |
Snippet name: | Quick area select in screenshot [WORKS] |
Eternal ID of this version: | #1006153/1 |
Text MD5: | 537456dc266ed9531338913ef1d1b893 |
Transpilation MD5: | 32396ed4455f4da3b67f95a574d77f04 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-08-25 19:06:15 |
Source code size: | 398 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 536 / 859 |
Referenced in: | #1006159 - screenQuickSelect #1006160 - Test screenQuickSelect |