static BufferedImage scaleImageToWidth(BufferedImage img, int newW) { ret resizeImage(img, newW); } static BufferedImage scaleImageToWidth(int newW, BufferedImage img) { ret scaleImageToWidth(img, newW); } static BufferedImage scaleImageToWidth(int newW, S imageID) { ret scaleImageToWidth(newW, loadImage2(imageID)); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, ofpaelxlmzfo, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019194 |
Snippet name: | scaleImageToWidth - preserves transparency |
Eternal ID of this version: | #1019194/8 |
Text MD5: | 80f6d6cd9440ab0ff0b10a65c1b62fb0 |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-08 20:45:37 |
Source code size: | 337 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 437 / 470 |
Version history: | 7 change(s) |
Referenced in: | [show references] |