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

13
LINES

< > BotCompany Repo | #1035877 // posterizeBufferedImageToHi15

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

Libraryless. Click here for Pure Java version (11008L/63K).

static Hi15Image posterizeBufferedImageToHi15(int brightnessLevels, BufferedImage etc img) {
  PosterizeBufferedImageToHi15 x = new(brightnessLevels, img);
  ret x!;
}

static Hi15Image posterizeBufferedImageToHi15(IPosterizer posterizer, BufferedImage etc img) {
  PosterizeBufferedImageToHi15 x = new(posterizer, img);
  ret x!;
}

static Hi15Image posterizeBufferedImageToHi15(BufferedImage etc img, IPosterizer posterizer) {
  ret posterizeBufferedImageToHi15(posterizer, img);
}

Author comment

Began life as a copy of #1035741

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1035877
Snippet name: posterizeBufferedImageToHi15
Eternal ID of this version: #1035877/1
Text MD5: a2b2eda725f9c245098b77a3415f984c
Transpilation MD5: 35c4ae66308cd033adf10d518568e03a
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-08-05 22:26:43
Source code size: 497 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 165 / 205
Referenced in: [show references]