WritePixel argb format

Blitz3D Forums/Blitz3D Programming/WritePixel argb format

IT's basically,

rgb = blue or (green shl 8) or (red shl 16)

and to reverse the process(I.e decode the rgb)

red = (rgb shr 16) and 255
green = (rgb shr 8) and 255
blue = (rgb and 255)
-