Transpiled version (37L) is out of date.
static Image rgbToGrayUsingGrayFilter(Image img) { GrayFilter filter = new(true, 50); FilteredImageSource imageSource = new(img.getSource(), filter); ret awtToolkit().createImage(imageSource); }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033434 |
Snippet name: | rgbToGrayUsingGrayFilter - supposedly the fastest method. results are strange |
Eternal ID of this version: | #1033434/4 |
Text MD5: | 6ebcffb228eb0465220e55f9b376a6dd |
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:35:34 |
Source code size: | 210 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 144 / 213 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1033436 - rgbToGrayUsingImageTypeAndDrawImage |