Hi,
It isn't possible to get an Alpha value.
In internal pixel array is no alpha stored, only R, G, B.
No matter, who needs an alpha ( Romeo Giulietta).
A test here:
include "ss.inc"
Openwindow 320,240,1
byte r=1,g=1,b=1,a=1
For x=0, 319
For y=0, 239
Color Rnd(64,255),Rnd(64,255),Rnd(64,255),225
SetPixel x,y
Next
Next
pixel = GetPixel 160,120
r = GetR(pixel)
g = GetG(pixel)
b = GetB(pixel)
a = GetA(pixel)
color r, g, b, 255
Fillcircle 120, 80,40
pixel = GetPixel 220,200
r = GetR(pixel)
g = GetG(pixel)
b = GetB(pixel)
a = GetA(pixel)
color r, g, b, 255
FillRect 100,140,40,40
color 255,255,255,255
DrawString 0,0, r " " g " " b " " a
waitkey
closewindow