Simple picture taker panel for macOS
4D implementation of IKPictureTaker
See ImageKit Programming Guide for more information.
DISPLAY PICTURE TAKER (picture{;options{;OK}})
Parameter | Type | Description |
---|---|---|
picture | PICTURE | default picture, picture taken |
options | TEXT | options in JSON format; supported attributes are listed below |
OK | LONGINT | 1 if the dialog was validated |
- Options
showEffects
(boolean)
showRecentPicture
(boolean)
showAddressBookPicture
(boolean)
allowsVideoCapture
(boolean)
allowsFileChoosing
(boolean)
allowsEditing
(boolean)
updateRecentPicture
(boolean)
informationalText
(text)
cropAreaWidth
(integer)
cropAreaHeight
(integer)
outputImageMaxWidth
(integer)
outputImageMaxHeight
(integer)
C_PICTURE($picture)
READ PICTURE FILE(Get 4D folder(Current resources folder)+"4D.png";$picture)
C_OBJECT($options)
OB SET($options;"allowsEditing";False;"allowsFileChoosing";False)
DISPLAY PICTURE TAKER ($picture;JSON Stringify($options);$OK)
SET PICTURE TO PASTEBOARD($picture)