Click or drag to resize

JpegXrDecoderGetImageInfo Method

Retreive information from an image stored in a file without decoding the image data.

Namespace:  Atalasoft.Imaging.Codec
Assembly:  Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public override ImageInfo GetImageInfo(
	Stream stream
)

Parameters

stream
Type: System.IOStream
A stream containing the encoded image data.

Return Value

Type: ImageInfo
An ImageInfo object containing information about the image such as size and bitdepth.
Exceptions
ExceptionCondition
ArgumentNullExceptionstream
ArgumentExceptionThe stream must have read access.;stream
See Also