I'm creating an avi file out of bitmaps using C#.
I'm able to create the avi file if I use the stored .bmp files captured using a webcamera:
Bitmap bitmap = (Bitmap)Image.FromFile("abc.bmp");
But if I try to store the captured bitmaps in an array or arraylist, then the avi does not create correctly - says corrupted:
Bitmap bitmap = (Bitmap)BitMapList[0];
Note: BitMapList is a Bitmap array.
Can someone pls let me know what's the conflict out there?