Greetings,
Will this code retrieve the alpha channel value?
It seems not to. I can get red, green and blue values.
Please advise,
Thanks!
OPEN Event
dim alphaValue as integer
dim Pic as picture
Pic=new picture(canvas.width, canvas.height)
canvas.DrawInto(Pic.Graphics, 0, 0)
dim rgbs as RGBSurface
rgbs=Pic.RGBSurface
MouseDown Event
Dim PixelColor As Color
pixelColor=rgbs.Pixel(xPixel, yPixel) <---- does this pick up the alpha channel?
alphaValue=pixelColor.alpha