Logo Search packages:      
Sourcecode: libgphoto2 version File versions  Download package

int camera_capture_preview ( Camera camera,
CameraFile file,
GPContext context 

Capture a preview and return the data in the given file (again, use gp_file_set_data_and_size, gp_file_set_mime_type, etc.). libgphoto2 assumes that previews are NOT stored on the camera's disk. If your camera does, please delete it from the camera.

This function is a method of the Camera object.

Definition at line 155 of file template.c.

References GP_OK.

Referenced by camera_init().

      return GP_OK;

Generated by  Doxygen 1.6.0   Back to index