DBPro help file wrote: "You must specify a fade value that sets the level of fading from zero which fades the bitmap completely to black, up to 100 which does not fade the bitmap at all. Fade operations are slow and the completion time depends on the size of the bitmap. The parameters should be specified using integer values."
the help file already states that this command is slow.
i don't know if you can do it with shaders, which should always be faster.
if you have the bitmap as an image, you can try the sprite commands. or you can convert the image to a memblock an manipulate the alpha value of each pixel and then paste it.
this should also work (pseudocode):
lock pixels
for y = 0 to height -1
for x = 0 to width - 1
color = point(x,y)
newcolor = fadeColor(color) // you need to make this function yourself
dot x,y,newcolor
next x
next y
something similar could be done with the pixels pointer.
if you come up with a good and fast solution, please share it.