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

5
LINES

< > BotCompany Repo | #1003996 // convertToPNG

JavaX fragment (include)

static byte[] convertToPNG(BufferedImage img) ctex {
  new ByteArrayOutputStream stream;
  ImageIO.write(img, "png", stream);
  ret stream.toByteArray();
}

Author comment

Began life as a copy of #1003962

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1003996
Snippet name: convertToPNG
Eternal ID of this version: #1003996/1
Text MD5: 513435737717c1e3ee4599488074c6ba
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-02 16:51:34
Source code size: 159 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 535 / 540
Referenced in: [show references]