i have a question. imagine you load a jpeg image. the goal is to transform that jpeg into a partial transparency image. that means, that you move the mouse pointer over the image an regions under the mouse pointer becomes transparent.
i have a slowly quick&dirty solution with dim-redim, copy pixel, compair with position etc. that works fine. but as mentioned very slowly.
is there a way, without using arrays and image-copies, to do it like that:
Code: Select all
If img
If StartDrawing(ImageOutput(img))
DrawingMode(#PB_2DDrawing_AlphaBlend)
tempcolor = Point(mousex,mousey)
maketransparent(tempcolor)
Plot(mousex,mousey,tempcolor)
StopDrawing()
EndIf
EndIf
kurt