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

8
LINES

< > BotCompany Repo | #1020486 // bb_loadWoodyImage

JavaX fragment (include)

static BufferedImage bb_loadWoodyImage(S emo) {
  S name = firstStartingWith(bb_woodyImageNames(), emo);
  if (name == null) null;
  File f = javaxDataDir("Woody Images/" + name);
  if (!fileExists(f))
    saveBinaryPageToFile(bb_woodyImageBaseURL() + name, f);
  ret loadImage2(f);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020486
Snippet name: bb_loadWoodyImage
Eternal ID of this version: #1020486/2
Text MD5: c864b8666cc67b8e2ce1c283add62fa1
Author: stefan
Category: javax / networking
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-24 14:48:19
Source code size: 291 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 262 / 283
Version history: 1 change(s)
Referenced in: [show references]