1 | static Dimension snippetImageSize(S imageID) { |
2 | Map<S, S> map = jsonDecodeMap(loadPage("http://tinybrain.de:8080/tb-int/get.php?id=1003218&full=1")); |
3 | ret new Dimension( |
4 | parseInt(map.get("img_width")), |
5 | parseInt(map.get("img_height"))); |
6 | } |
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: | 627 / 529 |
Referenced in: | [show references] |