Libraryless. Click here for Pure Java version (1952L/14K/42K).
1 | !747 |
2 | !image classes |
3 | |
4 | m {
|
5 | p {
|
6 | makeAndroid3("Image Coordinates Bot.");
|
7 | } |
8 | |
9 | static synchronized S answer(S s) {
|
10 | new Matches m; |
11 | |
12 | if (match3("what are the coordinates of image *?", s, m)) {
|
13 | RGBImage image = loadImage(unquote(m.m[0])); |
14 | ret format3("Width: *, height: *", image.getWidth(), image.getHeight());
|
15 | } |
16 | |
17 | ret null; |
18 | } |
19 | } |
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: | 821 / 921 |
| Referenced in: | [show references] |