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

3
LINES

< > BotCompany Repo | #1020226 // imageFromBytes

JavaX fragment (include)

static BufferedImage imageFromBytes(byte[] b) ctex {
  ret b == null ? null : ImageIO.read(new ByteArrayInputStream(b));
}

Author comment

Began life as a copy of #1019616

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020226
Snippet name: imageFromBytes
Eternal ID of this version: #1020226/1
Text MD5: d4cfe8c42326307dc9b8edafddf29d86
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-11 02:00:16
Source code size: 124 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 298 / 347
Referenced in: [show references]