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

3
LINES

< > BotCompany Repo | #1035928 // hi15

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

Libraryless. Click here for Pure Java version (33L/1K).

1  
static short hi15(int r, int g, int b) {
2  
  ret (short) ((r << 10) | (g << 5) | b);
3  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1035928
Snippet name: hi15
Eternal ID of this version: #1035928/2
Text MD5: afcd9b61d2471c3c2e08b84b0f5f1bb9
Transpilation MD5: 5d0fe3bbf359e7a2a7ee2e801daf01a2
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-08-14 20:42:17
Source code size: 86 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 151 / 201
Version history: 1 change(s)
Referenced in: [show references]