1 | static O subBot_serveJPEG(BufferedImage img) { |
2 | ret call(getMainBot(), 'serveByteArray, toJPG(img), "image/jpeg"); |
3 | } |
4 | |
5 | static O subBot_serveJPEG(byte[] imgData) { |
6 | ret call(getMainBot(), 'serveByteArray, imgData, "image/jpeg"); |
7 | } |
8 | |
9 | static O subBot_serveJPEG(File file) { |
10 | ret call(getMainBot(), 'serveFile, file, "image/jpeg"); |
11 | } |
Began life as a copy of #1011246
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: | #1011247 |
Snippet name: | subBot_serveJPEG |
Eternal ID of this version: | #1011247/4 |
Text MD5: | ba9e3cc037ef9887b972e3fb0daca4e2 |
Author: | stefan |
Category: | javax / html |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-27 08:43:09 |
Source code size: | 340 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 468 / 504 |
Version history: | 3 change(s) |
Referenced in: | [show references] |