Click or drag to resize

Jp2DecoderGetImageInfo Method

Returns information about a JPEG2000 image such as width, height, and bit depth.

Namespace:  Atalasoft.Imaging.Codec.Jpeg2000
Assembly:  Atalasoft.dotImage.Jpeg2000 (in Atalasoft.dotImage.Jpeg2000.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
JPEG2000 stream

Return Value

Type: ImageInfo
Jp2ImageInfo (derived class from ImageInfo)
Exceptions
ExceptionCondition
ImageReadException Thrown if the stream is not located at the beginning of a JPEG2000 image.
Remarks
The returned ImageInfo must be cast to a Jp2ImageInfo to access FileFormat and Jp2ImageInfo properties.
See Also