1 | // from: https://stackoverflow.com/questions/14416107/int-array-to-bufferedimage |
2 | // pixels are RGBA pixels |
3 | static BufferedImage pixelsToBufferedImage(int[] pixels, int w, int h default pixels.length/w) { |
4 | ret intArrayToBufferedImage(pixels, w, h); |
5 | } |
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: | 166 / 175 |
Version history: | 1 change(s) |
Referenced in: | [show references] |