Click or drag to resize
Accord.NET (logo)

IImageDecoder Interface

Common interface for image decoders. Image decoders can read images stored in different formats (e.g. PNG, JPG, PNM, FITS and transform them into Bitmap.

Namespace:  Accord.Imaging.Formats
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
public interface IImageDecoder
Request Example View Source

The IImageDecoder type exposes the following members.

Public methodClose
Close decoding of previously opened stream.
Public methodDecodeFrame
Decode specified frame.
Public methodDecodeSingleFrame
Decode first frame of image from the specified stream.
Public methodOpen
Open specified stream.

The interface also defines methods to work with image formats designed to store multiple frames and image formats which provide different type of image description (like acquisition parameters, etc).

See Also