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

3
LINES

< > BotCompany Repo | #1015385 // scaleBufferedImageToHeight

JavaX fragment (include)

static BufferedImage scaleBufferedImageToHeight(int height, BufferedImage img) {
  ret scaleImage(img, height/(double) img.getHeight());
}

Author comment

Began life as a copy of #1015057

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: #1015385
Snippet name: scaleBufferedImageToHeight
Eternal ID of this version: #1015385/1
Text MD5: cf39c6000a61d4b78430b2200826b094
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-13 15:03:48
Source code size: 140 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 444 / 446
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1029764 - scaleBufferedImageToWidth