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

21
LINES

< > BotCompany Repo | #1025226 // Test ScreenshotFromStream

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 974K of libraries. Click here for Pure Java version (7431L/40K).

!7

// transpiler needs this on top level
!include once #1025225 // Shared IntegralImage

cmodule Test > DynPrintLog {
  start-thread {
    bool first = true;
    repeat 10 {
      ScreenshotFromStream ss = dm_lastScreenshotFromStream();
      print(ss);
      if (ss != null && first) pcall {
        first = false;
        IntegralImage ii = ss.integralImage();
        print(ii);
        showImage(ii.getBufferedImage());
      }
      sleepSeconds(1);
    }
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025226
Snippet name: Test ScreenshotFromStream
Eternal ID of this version: #1025226/6
Text MD5: 8d71f29caff3e650a035b87bd383862c
Transpilation MD5: cf58a95298c8f8813085d27347ad9637
Author: stefan
Category: javax / gui
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-13 18:29:55
Source code size: 487 bytes / 21 lines
Pitched / IR pitched: No / No
Views / Downloads: 175 / 902
Version history: 5 change(s)
Referenced in: [show references]