GifDecoderRead Method (Stream, Int32, ProgressEventHandler) |
Returns a specified frame to an %AtalaImage% from a Stream containing an animated Gif encoded image.
Namespace:
Atalasoft.Imaging.Codec
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public override AtalaImage Read(
Stream stream,
int frameIndex,
ProgressEventHandler progress
)
Public Overrides Function Read (
stream As Stream,
frameIndex As Integer,
progress As ProgressEventHandler
) As AtalaImage
Parameters
- stream
- Type: System.IOStream
A stream containing the encoded image data. - frameIndex
- Type: SystemInt32
The zero based frame index to load from an animated GIF. - progress
- Type: Atalasoft.ImagingProgressEventHandler
The progress delegate. Can be set to null (Nothing in
Visual Basic).
Return Value
Type:
AtalaImageSee Also