ARGB Valuet back to R, G, and B value?
Blitz3D Forums/Blitz3D Programming/ARGB Valuet back to R, G, and B value?
| ||
I know that to convert an R, G, and a B value to an ARGB integer value, I have to do:argb=(b Or (g Shl 8) Or (r Shl 16) Or ($ff000000)) But what if I need the ARGB value back to seperate R, G, and B value? |
| ||
Code archives: http://www.blitzbasic.com/codearcs/codearcs.php?code=551 |
| ||
Thanks! |