1 | static File jpegifyWithInfoBox(File f) { |
2 | infoBox("JPEGifying: " + f.getName()); |
3 | long size1 = fileSize(f); |
4 | File destFile = jpegify(f); |
5 | long size2 = fileSize(destFile); |
6 | infoBox("JPEGified " + f.getName() + "\n\n" + toK(size1) + "K -> " + toK(size2) + "K"); |
7 | ret destFile; |
8 | } |
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: | 414 / 433 |
Version history: | 3 change(s) |
Referenced in: | [show references] |