Hi, I've searched around quite a bit on the Internet and I'm now pulling my hair out. I reckon this should be relatively simple. I'm sure I'm not the first person to want to do this.
Here's what I want to do:
I want to 'compile' a custom animation, from still images, and save it as an avi, or some other [animation] file format. As long as it is a single file.
- I already have the images/frames as PNG's with a transparent background and shadow (i.e. alpha channel).
- I want the shadow/transparency/alpha channel to be maintained in the finished animation.
- If the images/frames need to be converted into another format it can be done.
I want to host this animation inside a .net windows.forms control and be able to play it on a loop (like the animation you get in Windows XP when you copy a file).
- The reason I want the transparency to be maintained in the animation is that I want to display a custom image behind the animation and change the image at run-time depending on what is going on.
Okay, thats what I want to do. Here is what I know, and don't know.
I've downloaded and tried several different animation creating applications. Mainly around creating .avi files from .bmp files. I've used these applications to successfully create animations, don't know if the transparency is preserved, more below. I can play the animation in a windows form control using MCISendString and/or DirectX.DirectShow.
However, when I play the animation the background is black, not transparent. What I don't know is, is this because the animation does not contain the transparent data or is it because the player does not support transparency?
Excuse me if some of the terminology is wrong, hopefully you get the gist.
Losing hair quickly...
Keith.