Assembly: AForge.Imaging.Formats (in AForge.Imaging.Formats.dll) Version: 18.104.22.168 (22.214.171.124)
- 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.