CommonDecoderGetImageInfo Method (Stream) |
Retrieve information from a file data stored in a Stream about the first frame.
Namespace:
Atalasoft.dotImage.CommonDecoders.Base
Assembly:
Atalasoft.dotImage.CommonDecoders (in Atalasoft.dotImage.CommonDecoders.dll) Version: 11.5.0.5.0.230 (.NET 4.6.2, x86)
Syntaxpublic override ImageInfo GetImageInfo(
Stream stream
)
Public Overrides Function GetImageInfo (
stream As Stream
) As ImageInfo
Parameters
- stream
- Type: System.IOStream
A stream containing the file data.
Return Value
Type:
ImageInfo An
CommonImageInfo object containing information about the file data such as file type
ApplicationType, first decoded frame size etc.
Exceptions| Exception | Condition |
|---|
| [!:ArgumentException] | stream is null. |
| [!:CommonDecoderException] | file decoding error. |
See Also