2022.1

Table Of Contents
Option Description Type Default
no loss from file compression.
allowannotations Adds an Image & Annotation
widget to edit the picture.
Boolean false
allowdeskew Allows the user to perform a
perspective cropping after taking
or selecting a picture.
Boolean false
addtimestamp
Adds a time stamp Boolean false
stampFormat The date format. For all possible
formats see Cordova
documentation. 'L' stands for
localized date and time.
String 'L'
stampAlign The position of the stamp,
specified by combining
horizontal alignment (left, center,
right) with vertical alignment
(top, middle, bottom) and joining
them with a vertical bar ('|').
String 'bottom|left'
stampFontSize The time stamp's font size:
small, medium, or large.
String 'medium'
Events
The Camera listens for the following custom events.
Event Description
clear.cotg Removes the picture.
save- Saves the path of the current picture to the local storage of the COTG app.
Page 655