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)

1  
static BufferedImage reconstructBufferedImage(BufferedImage img) {
2  
  if (img == null) null;
3  
  RGBImage rgb = new(img);
4  
  rgb.uncacheBufferedImage();
5  
  ret rgb.getBufferedImage();
6  
}

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: 215 / 253
Referenced in: [show references]