1 | static BufferedImage decodeImage(byte[] data) ctex { |
2 | if (empty(data)) null; |
3 | ret ImageIO.read(new ByteArrayInputStream(data)); |
4 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, wnsclhtenguj
No comments. add comment
Snippet ID: | #1007252 |
Snippet name: | decodeImage - make BufferedImage from byte array (JPEG, PNG etc) |
Eternal ID of this version: | #1007252/2 |
Text MD5: | 8facd047a2a53c2fd0bd270abb414e81 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-09-11 16:53:03 |
Source code size: | 134 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 461 / 489 |
Version history: | 1 change(s) |
Referenced in: | [show references] |