You can create an animated GIF with GifBitmapEncoder, but it won't be animated in loop in Web browsers because Metadata will be missing
For this, you can do it with IWICBitmapEncoder and IWICMetadataQueryWriter with P/Invoke
(tested on Windows 10 1909, but a bit complex...)
How do I create an animation from a series of bmp files (in dot net)
rael isaac
21
Reputation points
How do I create an animation from a series of bmp files in dot net? Suppose for example I want to show a cartoon, and I have the frames for it, each one in a bmp file. One way to do this within a program is just use a timer to show successive bitmaps. However, there are stand-alone animated images (like animated GIFs). If I could product one of those, for example, I could just email the animation to recipients, without sending a program to display it.
Any help is appreciated?
Accepted answer
-
Castorix31 81,721 Reputation points
2021-10-19T20:29:27.38+00:00