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

14
LINES

< > BotCompany Repo | #1019832 // Screen Lens with 332 color count

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

Download Jar. Uses 3874K of libraries. Click here for Pure Java version (10887L/80K).

1  
!7
2  
3  
static ScreenLens lens;
4  
5  
p-noconsole {
6  
  lens = new ScreenLens;
7  
  lens.showFPS = false;
8  
  lens.postProcess = func(BufferedImage img) {
9  
    int count = colorCount332(img);
10  
    frameTitle(lens.is, n2(count, "color"));
11  
    ret img;
12  
  };
13  
  lens.start();
14  
}

Author comment

Began life as a copy of #1019586

download  show line numbers  debug dex  old transpilations   

Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019832
Snippet name: Screen Lens with 332 color count
Eternal ID of this version: #1019832/4
Text MD5: 4dcf4acf0a56a3bbd5ae452a7ed0342c
Transpilation MD5: 2ac857748b67178b41ecae00ea4bcb2b
Author: stefan
Category: javax / gui / ocr
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-27 23:14:27
Source code size: 268 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 414 / 875
Version history: 3 change(s)
Referenced in: [show references]