Skip to content

miyako/4d-plugin-picture-taker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

platform version license downloads

4d-plugin-picture-taker

Simple picture taker panel for macOS

4D implementation of IKPictureTaker

See ImageKit Programming Guide for more information.

Syntax

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)

Examples

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)

About

Simple picture taker panel for macOS

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages