#include <capture.h>
Inheritance diagram for CaptureFile:
Public Member Functions | |
CaptureFile (const char *FileName, int Delay=0) | |
Load the image from the given filename, or if a sequence is desired pattern. | |
const ARImage & | GetFrame () |
Return the current Frame. | |
int | GetMaxWidth () |
returns the maximum possible return frame width | |
int | GetMaxHeight () |
returns the maximum possible return frame height |
If a delay is specified then each time that delay has passed then the next image in a sequence is loaded
This class is mainly for debugging and testing purposes
CaptureFile::CaptureFile | ( | const char * | FileName, | |
int | Delay = 0 | |||
) |
Load the image from the given filename, or if a sequence is desired pattern.
Pattern is specified in printf style ie "image%d.jpeg", the next in the sequence is loaded after Delay
Image Magick is used to load the file, so in theory any format supported by ImageMagick will work