Forum Discussion

_creare_'s avatar
_creare_
Channel Surfer
4 years ago

How to get a single pixel's rgba value from a roBitmap

As the title says, I am wondering if there is a function like "bitmap..GetPixel(x,y)"

eg:

alphaVal = bitmap.GetPixel(x,y).alpah



I have tried bitmap[x][y] but it says I cant index a roBitmap like a array.