1 | static RGBImage rgbScale(RGBImage img, double scale) { |
2 | if (scale == 1) ret img; |
3 | ret new RGBImage(scaleImage(img.getBufferedImage(), scale)); |
4 | } |
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: | #1006817 |
Snippet name: | rgbScale - scale RGBImage |
Eternal ID of this version: | #1006817/2 |
Text MD5: | bdaae46636713257bccc9d814b93eb75 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-02-05 04:05:06 |
Source code size: | 149 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 604 / 593 |
Version history: | 1 change(s) |
Referenced in: | [show references] |