Like you can see on the screenshot it seems it incorrectly just takes a color-channel with 1Bit interpreting and not really the 255 values of the alpha-channel:
Full image (Clock to open):
http://www.scienide.de/alpha_error.jpg
Preview:



Code: Select all
@VERSION 5,2
/*
** Our alpha-transparent background
*/
@BRUSH 0, "appleimg.png", {LoadAlpha = True}
CopyBrush(0, 1)
ScaleBrush(1, 128, 128, True)
/*
** The whole apple is one giant drag region!
*/
@DISPLAY {Borderless = True, DragRegion = {{X = 0, Y = 0, Width = 528, Height = 535}}}
tmp = CreateBrush(Nil, 528, 535, 0, {AlphaChannel = True, Clear = True})
tmp2 = BrushToBGPic(tmp, Nil)
FreeBrush(tmp)
SelectBGPic(tmp2, #SELMODE_COMBO, 1)
DisplayBrush(0, 0, 0)
DisplayBrush(1, 310, 300)
EndSelect
DisplayBGPic(tmp2)
EscapeQuit(True)
; wait until something happens!
Repeat
WaitEvent
Forever