Libraryless. Click here for Pure Java version (6793L/38K).
1 | static BWImage posterizeBWImage(int brightnessLevels, BWImage img) { |
2 | PosterizeBWImage x = new(brightnessLevels, img); |
3 | x.run(); |
4 | ret x.result; |
5 | } |
Began life as a copy of #1033573
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033678 |
Snippet name: | posterizeBWImage |
Eternal ID of this version: | #1033678/5 |
Text MD5: | d090730d51e2c841af14b5ed812ffb7d |
Transpilation MD5: | 89b58e7cc845b905603c6c702ab11cce |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-14 00:18:41 |
Source code size: | 152 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 138 / 216 |
Version history: | 4 change(s) |
Referenced in: | [show references] |