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

3
LINES

< > BotCompany Repo | #1035837 // randomImage2B

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

Libraryless. Click here for Pure Java version (10968L/63K).

1  
static Image2B randomImage2B(int w, int h default w) {
2  
  ret Image2B(w, h, randomBytes((w*h+7)/8));
3  
}

Author comment

Began life as a copy of #1033936

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1035837
Snippet name: randomImage2B
Eternal ID of this version: #1035837/1
Text MD5: 8d5a13c1345e55f82579e80f314d1cb1
Transpilation MD5: 86657b3be695817973a6f5f4fbdb6698
Author: stefan
Category: javax / gazelle v
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-08-02 19:19:07
Source code size: 103 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 127 / 184
Referenced in: [show references]