How to automatically save scene as image and video? Help!

So far i create a helicopter simulation program with PANDA3D. In simulation program, the chopper(heli) will be installed with a camera to take the ground images. So there is small window showing the images takenby this cam. These ground images will be sent to image processing program to compute optic flow of the image to determine the distance between the heli and the ground.

I have a problem on how to save rendered images taken by heli in whatever format. Can someone tell a useful thing for me? I look forward to see your advise.

Thank
KoKO

From manual,

These means the rendering scene can be save with saveScreenShot() in bmp format only. Am i right?

Thank
KoKO

no, you can save it in JPG and PNG. i haven’t tried BMP. i assume TIFF works too. just use the approriate extension.

hth,
kaweh