Click or drag to resize

BaseCommonDecoderGetImageInfo Method (Stream)

Retrieve information from a file data stored in a Stream about the first frame.

Namespace:  Atalasoft.Imaging.Codec
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.5.0.5.0.230 (.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 ImageInfo object containing information about the first decoded frame such as size, pixel format etc.
Exceptions
ExceptionCondition
ArgumentException

stream is null.

CommonDecoderException

file data decoding error.

See Also