Answers for "can i store rgba as tinyint in mysql"

SQL
0

storing RGBA in mysql db

UInt32 rgba  = color.R | ( color.G << 8 ) | ( color.B << 16 ) | ( color.A << 24 );
 Color  color = Color.FromRgba( rgba & 0xFF, ( rgba >> 8 ) & 0xFF, ( rgba >> 16 ) & 0xFF, ( rgba >> 24 ) & 0xFF );
Posted by: Guest on July-26-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language