// from: https://stackoverflow.com/questions/14416107/int-array-to-bufferedimage // pixels are RGB pixels static BufferedImageWithMeta bufferedImageFromPixels(int[] pixels, int w, int h default pixels.length/w) { ret intArrayToBufferedImage(pixels, w, h); } static BufferedImageWithMeta bufferedImageFromPixels(int w, int... pixels) { ret intArrayToBufferedImage(w, pixels); }
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1036067 |
Snippet name: | bufferedImageFromPixels - synonym of intArrayToBufferedImage |
Eternal ID of this version: | #1036067/1 |
Text MD5: | a261b86bf9e05bcb4cfddfe745e81669 |
Author: | someone |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-09-05 02:29:02 |
Source code size: | 387 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 107 / 119 |
Referenced in: | [show references] |