1 | static BufferedImage scaleBufferedImageToHeight(int height, BufferedImage img) { |
2 | ret scaleImage(img, height/(double) img.getHeight()); |
3 | } |
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: | 445 / 447 |
Referenced in: | [show references] |