static BWImage smoothResizeBWImage_heightOnly(BWImage img, int newH) { if (newH == img.getHeight()) ret img; ret new BWImage(resizeImage(img.getBufferedImage(), img.getWidth(), newH, Image.SCALE_SMOOTH)); }
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: | 324 / 359 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |