blending images?

Blitz3D Forums/Blitz3D Programming/blending images?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

is it possable to blend an image into another one?
like u gather and save a screen hot of game then average it in with another
would look kinda like this?
graphics 800,600,32,1
setbuffer backbuffer()
car=loadimage("car.bmp")
dude_thats_behind_window_in_car=loadimage("dude.bmp")
while not keydown(1)
    drawimage dude_thats_behind_window_in_car,x,y
        blendimagestobackground(car)
  flip
  cls
wend

function blendimagestobackground(car)
  ;stuff goes in here
end function

any ideas how to do this?