static BufferedImage scaleImageWithFactor(double factor, BufferedImage img) { ret img == null ? null : resizeImage(img, max(1, iround(img.getWidth()*factor))); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022930 |
Snippet name: | scaleImageWithFactor |
Eternal ID of this version: | #1022930/1 |
Text MD5: | efd50feb68b9778d796397f951219aa0 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-04-14 23:01:30 |
Source code size: | 165 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 285 / 328 |
Referenced in: | [show references] |