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

11
LINES

< > BotCompany Repo | #1004609 // uploadToImageServer - short for uploadToImageServerIfNotThere - returns URL

JavaX fragment (include)

sS uploadToImageServer(BufferedImage img, S name) {
  ret uploadToImageServerIfNotThere(img, name);
}

sS uploadToImageServer(S name, BufferedImage img) {
  ret uploadToImageServerIfNotThere(img, name);
}

sS uploadToImageServer(File f) {
  ret uploadFileToImageServer(f);
}

Author comment

Began life as a copy of #1004606

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004609
Snippet name: uploadToImageServer - short for uploadToImageServerIfNotThere - returns URL
Eternal ID of this version: #1004609/4
Text MD5: df4cdca9e97b0ea237555fd4910a9495
Author: stefan
Category: javax / images
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-18 20:38:05
Source code size: 284 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 686 / 668
Version history: 3 change(s)
Referenced in: #1005781 - loadFromImageServerByMD5 - returns BufferedImage
#1005826 - uploadToImageServerIfNotThere - returns URL
#1005851 - uploadToImageServer_new - used internally only
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1016173 - uploadFileToImageServer - TODO: keep file format