WritePixel argb format

Blitz3D Forums/Blitz3D Programming/WritePixel argb format

LOL...I got so carried away with explaining the format, I forgot about showing you how to extract the RGB components. :o)

Just for the sake of completeness.

You can get the RGB value from the ReadPixel command with...
RGB = ReadPixel(x, y, buffer) And $FFFFFF
(then red would just be red = RGB Shr 16)


YAN