Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1015325 // jpegifyWithInfoBox - convert image file to JPEG and brag about it

JavaX fragment (include)

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;
}

Author comment

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: 415 / 433
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1015326 - jpegifyWithInfoBoxes - synonym of jpegifyWithInfoBox - convert image file to JPEG and brag about it