Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

ImagePicker.TakePicture

Captures a still image using the camera.

Component Version macOS Windows Linux Server iOS SDK
ImagePicker 7.3 ❌ No ❌ No ❌ No ❌ No ✅ Yes
MBS( "ImagePicker.TakePicture" )

Parameters

none

Result

Returns OK or error.

Description

Captures a still image using the camera.
Use this method in conjunction to initiate the programmatic capture of a still image. This supports taking more than one picture without leaving the interface, but requires that you hide the default image picker controls.
Calling this method while an image is being captured has no effect. You must wait until the script trigger is run before you can capture another picture.
Calling this method when the source type of the image picker is set to a value other than Camera results in an error.

See also

This function is free to use.

Created 17th June 2017, last changed 18th June 2017


ImagePicker.StopVideoCapture - ImagePicker.VideoIsCompatibleWithSavedPhotosAlbum

💬 Ask a question or report a problem