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

7
LINES

< > BotCompany Repo | #1031937 // himgPNG - <img> tag from BufferedImage using PNG

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (5670L) is out of date.

sS himgPNG(BufferedImage img, O... params) {
  ret himg(dataURL(pngMimeType(), toPNG(img)), params);
}

sS himgPNG(MakesBufferedImage img, O... params) {
  ret himgPNG(img.getBufferedImage(), params);
}

Author comment

Began life as a copy of #1003098

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1031937
Snippet name: himgPNG - <img> tag from BufferedImage using PNG
Eternal ID of this version: #1031937/6
Text MD5: 28f7354dc34c0264870d9236e25f3368
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-02 19:32:44
Source code size: 208 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 166 / 246
Version history: 5 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)