Méthode | Description | |
---|---|---|
Close ( ) : void |
Close decoding of previously opened stream. The method does not close stream itself, but just closes decoding cleaning all associated data with it. |
|
DecodeFrame ( int frameIndex, |
Decode specified frame.
|
|
DecodeSingleFrame ( Stream stream ) : |
Decode first frame of PNM image.
|
|
Open ( Stream stream ) : int |
Open specified stream.
|
Méthode | Description | |
---|---|---|
ReadHeader ( Stream stream ) : |
||
ReadImageFrame ( Stream stream, |
||
ReadIntegerValue ( Stream stream ) : int | ||
ReadP5Image ( Stream stream, int width, int height, int maxValue ) : |
||
ReadP6Image ( Stream stream, int width, int height, int maxValue ) : |
||
ReadUntilSpace ( Stream stream, byte buffer, int start ) : int | ||
SkipSpaces ( Stream stream ) : byte |
public DecodeFrame ( int frameIndex, |
||
frameIndex | int | Image frame to decode. |
imageInfo | Receives information about decoded frame. | |
Résultat |
public DecodeSingleFrame ( Stream stream ) : |
||
stream | Stream | Source stream, which contains encoded image. |
Résultat |
public Open ( Stream stream ) : int | ||
stream | Stream | Stream to open. |
Résultat | int |