# Camera Capture

> Kalipso Studio 6.1 documentation · https://doc.sysdevmobile.com/kalipso/6.1/documentation/actions/group-others/camera-capture
>
> Opens the device camera app to take a photo or record a video, with quality, resolution, maximum video time and the target file name.

Opens the Camera application.

Action available for the following operating systems:

![OS Supported: Android, iOS, Win, Win32](https://doc.sysdevmobile.com/kalipso/assets/images/01_Supported_OS-5c02a51fd5080a410a07ee3ef72b6872.png)

### Parameters

* **Mode** - Defines the mode to open the camera application. It can be one of:<br>
  * 1 - _Image_
    * **Quality** - Defines the quality of the Image to be taken by the Camera. It can be one of:
      * 1 - Default
      * 2 - Low
      * 3 - Normal
      * 4 - High
    * **Width Resolution** \<numeric> - The width resolution of the camera. The value 0 is for default values.
    * **Height Resolution** \<numeric> - The height resolution of the camera. The value 0 is for default values.
    * **Windows Title** \<string> - The windows title showed in the openned window.
    * **Default Folder** \<string> - The default folder to save the file (image or video files).
    * **Default File** \<string> - The default file to save the images or videos created after this action. If defined, the user must also add the extension (.jpg, .mp4, etc).
    * **Target Filename** \<string> - The Control or Variable where the generated File name will be stored.<br>
  * 2 - _Video Only_
    * **Video Type** - Defines the Video type to the camera application. It can be one of:
      * 1 - All
      * 2 - Standard
      * 3 - Messaging
    * **Max Video Time (s)** \<numeric> - Defines the maximum time, in seconds, of the Video to be recorded.
    * **Width Resolution** \<numeric> - The width resolution of the camera. The value 0 is for default values.
    * **Height Resolution** \<numeric> - The height resolution of the camera. The value 0 is for default values.
    * **Windows Title** \<string> - The windows title showed in the openned window.
    * **Default Folder** \<string> - The default folder to save the file (image or video files).
    * **Default File** \<string> - The default file to save the images or videos created after this action. If defined, the user must also add the extension (.jpg, .mp4, etc).
    * **Target Filename** \<string> - The Control or Variable where the generated File name will be stored.<br>
  * 3 - _Video With Audio_
    * **Video Type** - Defines the Video type to the camera application. It can be one of:
      * 1 - All
      * 2 - Standard
      * 3 - Messaging
    * **Max Video Time (s)** \<numeric> - Defines the maximum time, in seconds, of the Video to be recorded.
    * **Width Resolution** \<numeric> - The width resolution of the camera. The value 0 is for default values.
    * **Height Resolution** \<numeric> - The height resolution of the camera. The value 0 is for default values.
    * **Windows Title** \<string> - The windows title showed in the openned window.
    * **Default Folder** \<string> - The default folder to save the file (image or video files).
    * **Default File** \<string> - The default file to save the images or videos created after this action. If defined, the user must also add the extension (.jpg, .mp4, etc).
    * **Target Filename** \<string> - The Control or Variable where the generated File name will be stored.

:::warning
Android does not allow to specify image quality when taking a photo.
:::

:::warning
Android and iOS do not allow to specify width and height for the resolution.
:::

:::info
Some devices the Quality parameter in Image Mode is not supported. The user should manually change the quality settings in the device itself, or use the Action [Resize Image](https://doc.sysdevmobile.com/kalipso/6.1/documentation/actions/group-files/resize-image.md) .
:::
