Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1033678 // posterizeBWImage

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (6793L/38K).

static BWImage posterizeBWImage(int brightnessLevels, BWImage img) {
  PosterizeBWImage x = new(brightnessLevels, img);
  x.run();
  ret x.result;
}

Author comment

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: 136 / 213
Version history: 4 change(s)
Referenced in: [show references]