Click or drag to resize

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: 2026.2.0.0.42 (.NET 4.6.2, x86)
Syntax
public override ImageInfo GetImageInfo(
	Stream stream
)

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
ExceptionCondition
[!:ArgumentException]

stream is null.

[!:CommonDecoderException]

file decoding error.

See Also