Transpiled version (4682L) is out of date.
1 | static BufferedImage rgbToGrayUsingImageTypeAndDrawImage(BufferedImage img) { |
2 | if (img == null) null; |
3 | int w = img.getWidth(), h = img.getHeight(); |
4 | BufferedImage out = newGrayBufferedImage(w, h); |
5 | drawImage(out, img); |
6 | ret out; |
7 | } |
Began life as a copy of #1033434
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033436 |
Snippet name: | rgbToGrayUsingImageTypeAndDrawImage |
Eternal ID of this version: | #1033436/3 |
Text MD5: | 9155205d0e2e7fd0122ca172a0f22f52 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-27 14:37:11 |
Source code size: | 241 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 150 / 211 |
Version history: | 2 change(s) |
Referenced in: | [show references] |