|
IImageDecoderDecodeFrame Method
|
Decode specified frame.
Namespace:
Accord.Imaging.Formats
Assembly:
Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax Bitmap DecodeFrame(
int frameIndex,
out ImageInfo imageInfo
)
Function DecodeFrame (
frameIndex As Integer,
<OutAttribute> ByRef imageInfo As ImageInfo
) As Bitmap
Request Example
View SourceParameters
- frameIndex
- Type: SystemInt32
Image frame to decode. - imageInfo
- Type: Accord.Imaging.FormatsImageInfo
Receives information about decoded frame.
Return Value
Type:
BitmapReturns 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.
See Also