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

6
LINES

< > BotCompany Repo | #1032041 // saveImageVerbose

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

Libraryless. Click here for Pure Java version (4219L/24K).

svoid saveImageVerbose(File f, BufferedImage img) {
  if (hasJPEGExtension(f))
    saveJPGVerbose(f, img);
  else
    savePNGVerbose(f, img);
}

Author comment

Began life as a copy of #1032040

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1032041
Snippet name: saveImageVerbose
Eternal ID of this version: #1032041/1
Text MD5: a41957f865505ec9b85a18a33951996a
Transpilation MD5: 735be36ed2676eb4273b86b63a84b38a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-11 05:14:42
Source code size: 148 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 154 / 220
Referenced in: [show references]