|
PNMCodecOpen 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
)
Public Function Open (
stream As Stream
) As Integer
Request Example
View SourceParameters
- stream
- Type: System.IOStream
Stream to open.
Return Value
Type:
Int32Returns number of images found in the specified stream.
Implements
IImageDecoderOpen(Stream)Exceptions Exception | Condition |
---|
FormatException | Not a PNM image format. |
NotSupportedException | Format of the PNM image is not supported. |
ArgumentException | The stream contains invalid (broken) PNM image. |
See Also