Libraryless. Click here for Pure Java version (6237L/41K/138K).
1 | !752 |
2 | |
3 | concepts. |
4 | |
5 | concept GrabbedImage { |
6 | Rect r; |
7 | Image332 image; |
8 | } |
9 | |
10 | static int w = 45, h = 45; |
11 | |
12 | p { |
13 | concepts(60*1000); // auto-save every minute only |
14 | |
15 | while licensed { |
16 | Rectangle r = randomScreenPart(w, h); |
17 | Image332 image = new Image332(shootScreen(r)); |
18 | cnew(GrabbedImage, +image, r := new Rect(r)); |
19 | print(n(countConcepts(GrabbedImage), "image") + " grabbed"); |
20 | quickShowZoomedImage(image.toRGB()); |
21 | sleepSeconds(1); |
22 | } |
23 | } |
Began life as a copy of #1005375
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005379 |
Snippet name: | Shoot Random Screen Part as 332 Image & Collect |
Eternal ID of this version: | #1005379/1 |
Text MD5: | a2cb921dd43c27c88131961ff26c1ae7 |
Transpilation MD5: | 44d3a94b19b0dc9e97e0ee341d010921 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-13 12:12:57 |
Source code size: | 477 bytes / 23 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 532 / 653 |
Referenced in: | [show references] |