Click or drag to resize
Accord.NET (logo)

FITSCodecOpen Method

Open specified stream.

Namespace:  Accord.Imaging.Formats
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax
public int Open(
	Stream stream
)
Request Example View Source

Parameters

stream
Type: System.IOStream
Stream to open.

Return Value

Type: Int32
Returns number of images found in the specified stream.

Implements

IImageDecoderOpen(Stream)
Exceptions
ExceptionCondition
FormatExceptionNot a FITS image format.
NotSupportedExceptionFormat of the FITS image is not supported.
ArgumentExceptionThe stream contains invalid (broken) FITS image.
See Also