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

5
LINES

< > BotCompany Repo | #1035718 // pixelsToBufferedImage - synonym of intArrayToBufferedImage

JavaX fragment (include)

// from: https://stackoverflow.com/questions/14416107/int-array-to-bufferedimage
// pixels are RGBA pixels
static BufferedImage pixelsToBufferedImage(int[] pixels, int w, int h default pixels.length/w) {
  ret intArrayToBufferedImage(pixels, w, h);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035718
Snippet name: pixelsToBufferedImage - synonym of intArrayToBufferedImage
Eternal ID of this version: #1035718/2
Text MD5: c416b64a774ad92c178e0a5d31f83389
Author: someone
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-07-17 19:25:16
Source code size: 254 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 165 / 174
Version history: 1 change(s)
Referenced in: [show references]