Get Image Pixel

Blitz3D Forums/Blitz3D Programming/Get Image Pixel

Found IT!

argb=ReadPixelFast(x,y,ImageBuffer(image_name))
gotr=(ARGB Shr 16) And $ff
gotg=(ARGB Shr 8) And $ff
gotb=ARGB And $ff

GrayValue = (gotg+gotr+gotb) / 3