static S to332String(int rgb) { byte b = to332(rgb); ret str((b >> 5) & 7) + ((b >> 2) & 7) + (b & 3); }
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: | #1010898 |
| Snippet name: | to332String - RGB color to 3-3-2 (e.g. "053") |
| Eternal ID of this version: | #1010898/3 |
| Text MD5: | 616bc66da425145ac68aa2a98361d74f |
| Author: | stefan |
| Category: | javax / imaging |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-04-14 20:30:46 |
| Source code size: | 111 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 722 / 722 |
| Version history: | 2 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1024776 - byte332ToString - byte to 3-3-2 (e.g. "053") |