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

3
LINES

< > BotCompany Repo | #1033478 // resizeImageToHeight_bilinear - preserves transparency

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4593L/26K).

static BufferedImage resizeImageToHeight_bilinear(BufferedImage img, int newH) {
  ret scaleImage_bilinear(doubleRatio(newH, img.getHeight()), img);
}

Author comment

Began life as a copy of #1019389

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033478
Snippet name: resizeImageToHeight_bilinear - preserves transparency
Eternal ID of this version: #1033478/3
Text MD5: 358b6bf995ba1bcfc0809119bc20286a
Transpilation MD5: fa250db47c27ad659114b073d0ae38d9
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-29 02:47:49
Source code size: 152 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 156 / 223
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)