1 | static BufferedImage imageFromByteArray(byte[] data) ctex { |
2 | ret ImageIO.read(new ByteArrayInputStream(data)); |
3 | } |
Began life as a copy of #1005783
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1009028 |
Snippet name: | imageFromByteArray - make BufferedImage from in-memory PNG or JPEG |
Eternal ID of this version: | #1009028/1 |
Text MD5: | 5fc73df1037467efcc501198110c4d2c |
Author: | stefan |
Category: | javax / images |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-06-28 19:31:02 |
Source code size: | 115 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 519 / 565 |
Referenced in: | [show references] |