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   

Travelled to 6 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pzhvpgtvlbxg, tvejysmllsmz

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

Formerly at http://tinybrain.de/1020226 & http://1020226.tinybrain.de