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

5
LINES

< > BotCompany Repo | #1021837 // gazelle_postGoogleImage

JavaX fragment (include)

svoid gazelle_postGoogleImage(S query) {
  BufferedImage img = quickVisualize(query);
  if (img == null) gazelle_postText("No image found, sorry!");
  else gazelle_postImage(uploadToImageServer(img, query));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1021837
Snippet name: gazelle_postGoogleImage
Eternal ID of this version: #1021837/2
Text MD5: fde3bb04d76953c39b7b20e77bc26b61
Author: stefan
Category: javax / discord
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-04 22:35:26
Source code size: 215 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 246 / 364
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)