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

3
LINES

< > BotCompany Repo | #1004225 // resizePNG - resize PNG to new width, preserving transparency

JavaX fragment (include)

static void resizePNG(File in, File out, int newW) {
  savePNG(resizeImage(loadImage2(in), newW), out);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1004225
Snippet name: resizePNG - resize PNG to new width, preserving transparency
Eternal ID of this version: #1004225/1
Text MD5: fc16ad17a4c78e3c2ba601fef2af9c3a
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-10 17:45:01
Source code size: 107 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 494 / 511
Referenced in: [show references]