Libraryless. Click here for Pure Java version (33L/1K).
static short hi15(int r, int g, int b) { ret (short) ((r << 10) | (g << 5) | b); }
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: | 152 / 202 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1035929 - hi15_clamp |