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

10
LINES

< > BotCompany Repo | #1016372 // fixGIFAndReupload

JavaX fragment (include)

sS fixGIFAndReupload(S imageID) {
  File f = loadBinarySnippet(imageID);
  S name = getSnippetTitle(imageID);
  Var<byte[]> var = new Var;
  temp tempSetThreadLocal(loadBufferedImageFixingGIFs_output, var);
  loadBufferedImageFixingGIFs(f);
  byte[] data = var!;
  assertNotNull("Could not fix GIF: " + imageID, data);
  ret infoBoxAndReturn(uploadToImageServer_rawBytes(data, "fixedAnim_" + name));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1016372
Snippet name: fixGIFAndReupload
Eternal ID of this version: #1016372/3
Text MD5: 77466b5a54915a596d0221e98ec18229
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-16 16:36:54
Source code size: 410 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 366 / 398
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)