1 | static BWImage smoothResizeBWImage_heightOnly(BWImage img, int newH) { |
2 | if (newH == img.getHeight()) ret img; |
3 | ret new BWImage(resizeImage(img.getBufferedImage(), img.getWidth(), newH, Image.SCALE_SMOOTH)); |
4 | } |
Began life as a copy of #1004224
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018645 |
Snippet name: | smoothResizeBWImage_heightOnly |
Eternal ID of this version: | #1018645/3 |
Text MD5: | cd827bf3e7c7f9cbcef621d6e1b7146e |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-08 03:02:58 |
Source code size: | 213 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 323 / 358 |
Version history: | 2 change(s) |
Referenced in: | [show references] |