Skip to main content

mergAVCamCaptureImage

Type​

command

Summary​

Capture an image from the camera control

Syntax​

mergAVCamCaptureImage [<pAnimate>], [<pJPEGQuality>], [<pFilePath>], [<pThumbnailSize>]

Description​

The shutter sound is part of the AVFramework.

Parameters​

NameTypeDescription

pAnimate

(optional with "true" default) animate the image capture with a white flash.

  • true
  • false

pJPEGQuality

(optional with 1 default) a value between 0 and 1 for the compression quality for the JPEG data returned.

pFilePath

(optional with "" default) the file path to save the image

pThumbnailSize

(optional with "" default) the size of the thumbnail to send in the mergAVCamImageCaptured message. If not specified the thumbnail is the full image size.

Compatibility and Support​

Introduced

LiveCode 8.0

OS

ios

mac

Platforms

desktop

mobile

Thank you for your feedback!

Was this page helpful?