Seeing as there's been a lot of talk about this sort of thing I thought I'd have a go at one myself.
It's doesn't do anything clever but it seems to work quite well.
If anyone feels they want to improve upon this then please do, there's a lack on contrast on the blendy edges so I might have a go at improving that at some point...
Anyway... It's in the code archives, have a play, rip the code apart, improve it etc.
http://www.blitzbasic.com/codearcs/codearcs.php?code=1325
It's doesn't do anything clever but it seems to work quite well.
If anyone feels they want to improve upon this then please do, there's a lack on contrast on the blendy edges so I might have a go at improving that at some point...
Anyway... It's in the code archives, have a play, rip the code apart, improve it etc.
http://www.blitzbasic.com/codearcs/codearcs.php?code=1325