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

6
LINES

< > BotCompany Repo | #1003226 // snippetImageSize - return width+heigth of image snippet

JavaX fragment (include)

static Dimension snippetImageSize(S imageID) {
  Map<S, S> map = jsonDecodeMap(loadPage("http://tinybrain.de:8080/tb-int/get.php?id=1003218&full=1"));
  ret new Dimension(
    parseInt(map.get("img_width")),
    parseInt(map.get("img_height")));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003226
Snippet name: snippetImageSize - return width+heigth of image snippet
Eternal ID of this version: #1003226/1
Text MD5: e9fb427eb4fccc4a699568ea96057142
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-06-03 04:08:19
Source code size: 252 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 628 / 529
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)