GifEncoderEncodeAnimation Method

KGy SOFT Drawing Libraries Help
Encodes the frames of the specified configuration as an animated GIF image and writes it into the specified stream.

Namespace:  KGySoft.Drawing.Imaging
Assembly:  KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 6.0.0
Syntax

public static void EncodeAnimation(
	AnimatedGifConfiguration configuration,
	Stream stream
)

Parameters

configuration
Type: KGySoft.Drawing.ImagingAnimatedGifConfiguration
An AnimatedGifConfiguration instance describing the configuration of the encoding.
stream
Type: System.IOStream
The stream to save the encoded animation into.
Exceptions

ExceptionCondition
ArgumentNullExceptionconfiguration or stream is .
ArgumentExceptionconfiguration is invalid.
See Also

Reference