1 | static BufferedImage scaleImageToWidth(BufferedImage img, int newW) { |
2 | ret resizeImage(img, newW); |
3 | } |
4 | |
5 | static BufferedImage scaleImageToWidth(int newW, BufferedImage img) { |
6 | ret scaleImageToWidth(img, newW); |
7 | } |
8 | |
9 | static BufferedImage scaleImageToWidth(int newW, S imageID) { |
10 | ret scaleImageToWidth(newW, loadImage2(imageID)); |
11 | } |
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: | 438 / 472 |
Version history: | 7 change(s) |
Referenced in: | [show references] |