static File jpegifyWithInfoBox(File f) { infoBox("JPEGifying: " + f.getName()); long size1 = fileSize(f); File destFile = jpegify(f); long size2 = fileSize(destFile); infoBox("JPEGified " + f.getName() + "\n\n" + toK(size1) + "K -> " + toK(size2) + "K"); ret destFile; }
Began life as a copy of #1015317
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: | #1015325 |
| Snippet name: | jpegifyWithInfoBox - convert image file to JPEG and brag about it |
| Eternal ID of this version: | #1015325/4 |
| Text MD5: | ae397a1bdb82ecfe760b865c466acb63 |
| Author: | stefan |
| Category: | javax / io |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-05-12 23:20:41 |
| Source code size: | 289 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 692 / 719 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |