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

3
LINES

< > BotCompany Repo | #1019084 // downsampleAndReupsampleImage - downsample using SMOOTH, upsample using REPLICATE

JavaX fragment (include)

1  
static BufferedImage downsampleAndReupsampleImage(BufferedImage img, int w) {
2  
  ret resizeImage(resizeImage(img, w), img.getWidth(), img.getHeight(), Image.SCALE_REPLICATE);
3  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019084
Snippet name: downsampleAndReupsampleImage - downsample using SMOOTH, upsample using REPLICATE
Eternal ID of this version: #1019084/1
Text MD5: 01d3197225f248c1371ebaac2466affe
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-23 11:51:28
Source code size: 177 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 361 / 392
Referenced in: [show references]