Transpiled version (7264L) is out of date.
1 | static NanoHTTPD.Response serveJPEG(BufferedImage img) {
|
2 | ret serveByteArray(toJPG(img), jpegMimeType()); |
3 | } |
4 | |
5 | static NanoHTTPD.Response serveJPEG(File file) {
|
6 | ret serveFile(file, jpegMimeType()); |
7 | } |
8 | |
9 | static NanoHTTPD.Response serveJPEG(byte[] imgData) {
|
10 | ret serveByteArray(imgData, jpegMimeType()); |
11 | } |
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: | 831 / 962 |
| Version history: | 5 change(s) |
| Referenced in: | [show references] |