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).

!7

static ScreenLens lens;

p-noconsole {
  lens = new ScreenLens;
  lens.showFPS = false;
  lens.postProcess = func(BufferedImage img) {
    int count = colorCount332(img);
    frameTitle(lens.is, n2(count, "color"));
    ret img;
  };
  lens.start();
}

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: 247 / 565
Version history: 3 change(s)
Referenced in: [show references]