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

5
LINES

< > BotCompany Repo | #1004673 // bwImageFromLua

JavaX fragment (include)

static BWImage bwImageFromLua(final LuaValue img) {
  LuaValue b = img.get("getBrightness");
  assertTrue(!b.isnil());
  ret (BWImage) get(b, "theimg");
}

Author comment

Began life as a copy of #1004668

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004673
Snippet name: bwImageFromLua
Eternal ID of this version: #1004673/1
Text MD5: 9ae3ff8f057b04c40c75d04849f2e249
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-25 19:02:38
Source code size: 158 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 516 / 541
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)