static int to332_int(Color color) { ret ubyteToInt(to332(color)); } static int to332_int(int rgb) { ret ubyteToInt(to332(rgb)); }
Began life as a copy of #1005377
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1023049 |
Snippet name: | to332_int - convert pixel to 332 format (0..255) from int (24 bit RGB) |
Eternal ID of this version: | #1023049/1 |
Text MD5: | 862507e4e8cba9fbc1ad1c23fb158dcc |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-04-29 14:18:49 |
Source code size: | 142 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 336 / 370 |
Referenced in: | [show references] |