Decode specified frame.
Namespace:
AForge.Imaging.FormatsAssembly: AForge.Imaging.Formats (in AForge.Imaging.Formats.dll) Version: 2.2.4.0 (2.2.4.0)
Syntax
Parameters
- frameIndex
- Type: System..::.Int32
Image frame to decode.
- imageInfo
- Type:
AForge.Imaging.Formats..::.ImageInfo
%
Receives information about decoded frame.
Return Value
Returns decoded frame.
Remarks
Implementations of this method may throw
NullReferenceException exception in the case if no image
stream was opened previously, ArgumentOutOfRangeException in the
case if stream does not contain frame with specified index or ArgumentException
exception to report about incorrectly formatted image.