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

8
LINES

< > BotCompany Repo | #1032004 // loadBufferedImageFile

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

Libraryless. Click here for Pure Java version (80L/1K).

1  
static BufferedImage loadBufferedImageFile(File file) ctex {
2  
  if (!isFile(file)) null;
3  
  ifdef QOI
4  
    if (hasExtension(file, ".qoi"))
5  
      ret loadQOI(file);
6  
  endifdef
7  
  ret ImageIO.read(file);
8  
}

Author comment

Began life as a copy of #1003723

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1032004
Snippet name: loadBufferedImageFile
Eternal ID of this version: #1032004/2
Text MD5: 16b048882b2883eb50228286e5bb8f54
Transpilation MD5: 5de0764d878a286f4ab1faa29681a61d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-08-15 20:41:59
Source code size: 206 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 194 / 273
Version history: 1 change(s)
Referenced in: [show references]