1 | static BufferedImage imageFromInt(int i, int w, int h) { |
2 | RGBImage rgb = new RGBImage(w, h, Color.white); |
3 | fillArray(rgb.pixels, i); |
4 | ret rgb.getBufferedImage(); |
5 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1010764 |
Snippet name: | imageFromInt |
Eternal ID of this version: | #1010764/2 |
Text MD5: | 0fefc065b6dfaef42d1be8e318beb4c7 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-30 04:26:03 |
Source code size: | 170 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 432 / 474 |
Version history: | 1 change(s) |
Referenced in: | [show references] |