ImagePicker.TakePicture
-----------------------

Captures a still image using the camera.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [ImagePicker](component_ImagePicker.md) | [7.3](newinversion73.md) | ❌ 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

- [ImagePicker.Present](ImagePickerPresent.md)

This function is free to use.

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

  
[ImagePicker.StopVideoCapture](ImagePickerStopVideoCapture.md) - [ImagePicker.VideoIsCompatibleWithSavedPhotosAlbum](ImagePickerVideoIsCompatibleWithSavedPhotosAlbum.md)

[HTML Version](ImagePickerTakePicture.shtml)