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

3
LINES

< > BotCompany Repo | #1033642 // bitMatrixToBufferedImage (false=white, true=black)

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

Transpiled version (5497L) is out of date.

static BufferedImage bitMatrixToBufferedImage(BitMatrix m) {
  ret intMatrixToBufferedImage(mapMatrix(b -> b ? 0xFF000000 : 0xFFFFFFFF, m));
}

Author comment

Began life as a copy of #1033122

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033642
Snippet name: bitMatrixToBufferedImage (false=white, true=black)
Eternal ID of this version: #1033642/3
Text MD5: 05c56ce524030c5df7057c05ac494aa3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-06 22:52:35
Source code size: 144 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 140 / 209
Version history: 2 change(s)
Referenced in: [show references]