"cameraCaptureImage"

Capture an image and save it to file.

Synopsis

int cameraCaptureImage(string fileName = "")

Parameters

Parameter Description
fileName The name the image is saved as.

Error

In case of error, the function returns -1.

Description

This operation is asynchronous in majority of cases, followed by the event imageSaved(int id, string fileName)

The function returns the capture ID parameter, passed in the imageSaved() event.

If an empty fileName is passed, the camera back end chooses the default location and naming scheme for photos on the system.

If only fileName without full path is specified, the image will be saved to the default directory, with a full path reported in the imageSaved(int id, string fileName) event.

Assignment

VideoPlayer.ewo