Encodes the frames of the specified configuration as an animated GIF image and writes it into the specified stream.
KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 7.2.0
public static void EncodeAnimation(
Public Shared Sub EncodeAnimation (
configuration As AnimatedGifConfiguration,
stream As Stream
static void EncodeAnimation(
static member EncodeAnimation :
configuration : AnimatedGifConfiguration *
stream : Stream -> unit
- configuration AnimatedGifConfiguration
- An AnimatedGifConfiguration instance describing the configuration of the encoding.
- stream Stream
- The stream to save the encoded animation into.
To encode Image instances with default configuration you can use the ImageExtensions.SaveAsAnimatedGif
methods that provide a higher level access.
To create an animation completely manually you can create a GifEncoder instance that provides a lower level access.