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

6
LINES

< > BotCompany Repo | #1025677 // reconstructBufferedImage - if saving to JPEG fails

JavaX fragment (include)

static BufferedImage reconstructBufferedImage(BufferedImage img) {
  if (img == null) null;
  RGBImage rgb = new(img);
  rgb.uncacheBufferedImage();
  ret rgb.getBufferedImage();
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025677
Snippet name: reconstructBufferedImage - if saving to JPEG fails
Eternal ID of this version: #1025677/1
Text MD5: eba4b969c4ebb6521eab377bc1e5cbc6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-13 18:13:46
Source code size: 185 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 214 / 251
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)