static RGBImage rgbScale(RGBImage img, double scale) { if (scale == 1) ret img; ret new RGBImage(scaleImage(img.getBufferedImage(), scale)); }
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: | 836 / 827 |
| Version history: | 1 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1019519 - rgbScaleToWidth - scale RGBImage to width |