get("#108")
env = newCleanEnv()
local _input = input
input = nil
--might use pcall... but might as well not.
loadSnippet(_input, env)()
return "w/h: "..tostring(env.width).."/"..tostring(env.height)test run test run with input download show line numbers
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
1 comment(s) hidden. show
| Recognizer | Recognition Result | Visualize | Recalc |
|---|---|---|---|
| #308 | 204 | [visualize] |
| Snippet ID: | #103 |
| Snippet name: | Get width and height from image (or GUI) |
| Eternal ID of this version: | #103/1 |
| Text MD5: | 7ab0cb06e523bb13d67a57735c0ae0bb |
| Author: | stefan |
| Category: | Internal TinyBrain Helpers |
| Type: | Lua code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2014-01-16 00:01:08 |
| Source code size: | 204 bytes / 7 lines |
| Pitched / IR pitched: | Yes / Yes |
| Views / Downloads: | 1833 / 470 |
| Referenced in: | [show references] |