Playing pictures

Prev

Next

 






































































































Playing pictures

Description


The player can open a single picture, e.g.:

VideoGrabber.PlayerFileName = "mypicture.jpg"
VideoGrabber.OpenPlayer()

However you may need a picture to be displayed at a given frame rate, e.g. to perform graphics or text overlays that may change while the picture is displayed.
In this case proceed rather this way:

- set VideoSource = vs_JPEGsOrBitmaps,
- create a OnVideoFromBitmapsNextFrameNeeded event and pass the file name of your .JPG to the BMPorJPEGFile parameter of this event,
- set FrameRate with the frame rate needed
- then invoke StartPreview