Assembly: AForge.Imaging.Formats (in AForge.Imaging.Formats.dll) Version: 126.96.36.199 (188.8.131.52)
- Type: System.IO..::.Stream
Source stream, which contains encoded image.
Return ValueReturns decoded image frame.
For one-frame image formats the method is supposed to decode single available frame. For multi-frame image formats the first frame should be decoded.
Implementations of this method may throw FormatException exception to report about unrecognized image format, ArgumentException exception to report about incorrectly formatted image or NotSupportedException exception to report if certain formats are not supported.