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