|   | FITSCodecDecodeSingleFrame Method  | 
        
         
            Decode first frame of FITS image.
            
 
    Namespace: 
   Accord.Imaging.Formats
    Assembly:
   Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
 Syntax
Syntaxpublic Bitmap DecodeSingleFrame(
	Stream stream
)
Public Function DecodeSingleFrame ( 
	stream As Stream
) As Bitmap
Parameters
- stream
- Type: System.IOStream
 Source stream, which contains encoded image.
Return Value
Type: 
BitmapReturns decoded image frame.
Implements
IImageDecoderDecodeSingleFrame(Stream) Exceptions
Exceptions| Exception | Condition | 
|---|
| FormatException | Not a FITS image format. | 
| NotSupportedException | Format of the FITS image is not supported. | 
| ArgumentException | The stream contains invalid (broken) FITS image. | 
 See Also
See Also