Libraryless. Click here for Pure Java version (10797L/62K).
1 | static Image2B image2B_growBlack(Image2B img, int dx, int dy) { |
2 | ret image2BFromFunction(img.getWidth(), img.getHeight(), (x, y) -> |
3 | img.getPixel(x+dx, y+dy, true) && img.getPixel(x, y)); |
4 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): iveijnkanddl, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035493 |
Snippet name: | image2B_growBlack |
Eternal ID of this version: | #1035493/2 |
Text MD5: | d8065f9ee6230ff3025b008ecc3ecef0 |
Transpilation MD5: | 0e159940863eeae4039a76baaa7b23b9 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-05-28 22:04:29 |
Source code size: | 197 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 128 / 196 |
Version history: | 1 change(s) |
Referenced in: | [show references] |