Transpiled version (7264L) is out of date.
static NanoHTTPD.Response serveJPEG(BufferedImage img) { ret serveByteArray(toJPG(img), jpegMimeType()); } static NanoHTTPD.Response serveJPEG(File file) { ret serveFile(file, jpegMimeType()); } static NanoHTTPD.Response serveJPEG(byte[] imgData) { ret serveByteArray(imgData, jpegMimeType()); }
Began life as a copy of #1011247
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: | #1011249 |
Snippet name: | serveJPEG |
Eternal ID of this version: | #1011249/6 |
Text MD5: | fc61276f9854f0f0c790d125a14cfc39 |
Author: | stefan |
Category: | javax / html |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2023-03-20 22:04:59 |
Source code size: | 313 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 522 / 570 |
Version history: | 5 change(s) |
Referenced in: | [show references] |