I need a class written in C# that enables me to fade one image into the other. (Like the fade effect known from lot's of slideshow programs)
The class should also be able to make a slide effect. (One image slides out, the other slides in)
Both input images will always be the same size. One has to be able to vary the amount of frames an effect needs. I don't need it as an control, just as a simple class written in C#. It should use no other libraries, just the possibilities available in .NET 2.0 (GDI+ ?)
Here's a rough sample of how I would like to access the code:
Image imgResult=new Image();
Image imgA=new Image([This is picture 1]);
Image imgB=new Image([This is picture 2]);
YourEffectClass effect=new YourEffectClass();
effect.ImageA=imgA;
effect.ImageB=imgB;
effect.MaxFrames=30; //an Animation of 30 frames
for (int z=0;z<=[login to view URL];z++) {
imgResult=[login to view URL](z);
// My other code comes here
}
## Deliverables
Please feel free to ask me if you have questions!
Important: Has to work with .NET Framework 2.0