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

5
LINES

< > BotCompany Repo | #1033679 // posterizeBWImage_withMeta

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

Libraryless. Click here for Pure Java version (11184L/65K).

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

Author comment

Began life as a copy of #1033678

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033679
Snippet name: posterizeBWImage_withMeta
Eternal ID of this version: #1033679/7
Text MD5: 70cc5ddbaf12c540cd3fbc8ef88e77ad
Transpilation MD5: 4411fab82be727158a63dc1d9d9bf669
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-05-30 17:15:41
Source code size: 195 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 162 / 311
Version history: 6 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1035741 - posterizeBufferedImage