1 | static Image332 reduceImage332to111_inPlace(Image332 img) { |
2 | byte[] b = img.pixels; |
3 | for i over b: |
4 | b[i] &= 0x02 | 0x10 | 0x80; |
5 | ret img; |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020584 |
Snippet name: | reduceImage332to111_inPlace |
Eternal ID of this version: | #1020584/1 |
Text MD5: | 2bb0da037a0579220e3ecd041c202b9f |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-27 17:30:03 |
Source code size: | 150 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 303 / 324 |
Referenced in: | [show references] |