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

6
LINES

< > BotCompany Repo | #1031931 // gazelle_uploadedImage

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (5309L/31K).

1  
static BufferedImage gazelle_uploadedImage(long id) {
2  
  File f = javaxCachesDir("Gazelle-Images/" + id);
3  
  if (!fileExists(f))
4  
    loadBinaryPageToFile("https://gazelle.rocks/uploaded-image/" + id, f);
5  
  ret loadImage2(f);
6  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1031931
Snippet name: gazelle_uploadedImage
Eternal ID of this version: #1031931/1
Text MD5: e4d74182001f638eb377bbbd115fadec
Transpilation MD5: 18393b1e381cf1c952fe1d9ef57d1f4f
Author: stefan
Category: javax / gazelle
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-02 04:53:42
Source code size: 229 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 149 / 233
Referenced in: [show references]