Dissolve effect

Hi!

I’d like to know how to do a dissolve effect between two images. Something like this:

http://www.dseffects.com/applets/DS_Dissolve/DS_Dissolve.html

Any help (code,etc…) would be appreciated.

Regards

http://www.acm.org/tog/GraphicsGems/

download the zip for the first book and look at dissolve.c