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

19
LINES

< > BotCompany Repo | #1001485 // Get coordinates of image Bot

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

Libraryless. Click here for Pure Java version (1952L/14K/42K).

!747
!image classes

m {
  p {
    makeAndroid3("Image Coordinates Bot.");
  }
  
  static synchronized S answer(S s) {
    new Matches m;
    
    if (match3("what are the coordinates of image *?", s, m)) {
      RGBImage image = loadImage(unquote(m.m[0]));
      ret format3("Width: *, height: *", image.getWidth(), image.getHeight());
    }
    
    ret null;
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001485
Snippet name: Get coordinates of image Bot
Eternal ID of this version: #1001485/1
Text MD5: a4a4f7913a59c2eb20baa8b34eb5bdd6
Transpilation MD5: d8fd59b6272e8dec4c6864dc74059288
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-10-17 22:22:28
Source code size: 386 bytes / 19 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 525 / 548
Referenced in: [show references]