2022.2

Table Of Contents
l
Take now:Opensthedevice'sdefaultCameraapplicationtotakeapictureusingthedevice's
camera.CaptureOnTheGohasnoimpactonthedevice'sapplications,sothefeaturesavailable
(quality,orientation,filters)aredependentonthedeviceitself.Youcan,however,settheformat,
qualityandscalingforimagesthataresubmittedbytheCameraelement,asexplainedbelow.
l
Library:Opensthedevice'sdefaultlibraryorgalleryapplicationtoselectasingleimagethatis
thensavedintheformdata.Theaccessibleimagesandnavigationdependonthedeviceitself.
l
Clear:RemovesanyexistingimagedatafromtheCameraelement.
ToomittheTakenoworLibrarybutton,edittheCameraelement'sproperties:right-clicktheCamera
elementafteraddingittotheform,selectCamera propertiesandthenusetheSourcedrop-downto
selectwhichbuttonswillbeavailable:Take,Pickfromlibrary,orboth.
Annotations
Annotationscanmakeapicturemuchmoreinformative:anarrow,showinginwhichdirectionacarwas
driving;acircle,wherethecarhasbeendamaged...Toallowtheusertomakeannotations,right-click
theCameraelementafteraddingittotheform,selectCamera properties,andthencheckAllow
annotations.
Clicking(orrather,touching)theimagewillbringuptheannotationdialog.Annotationscanbemadein
aMarker(semi-transparent)orPencil(solid)style,indifferentcolorsandwithdifferentwidths.
AnnotationsaresubmittedinSVGformatbyahiddeninputaddedtotheCameraelement.Thenameof
thatinputistheIDoftheCameraelement,followedby"-note-data",forexamplecamera1-note-data.
Cropping/editing/deskewing
Toallowtheusertocrop,editanddeskewtheimageaftertakingorselectingit,selectCamera prop-
erties,andthencheckEdit Imageand/orAllow Deskew.Whicheditingoptionstheuseractuallygets
andhowtheyarepresentedtotheuserdependsontheoperatingsystemofthedevice.OnanAndroid
deviceforexample,theusermaybeableonlytocroptheimage,whiletheuserofaniOSdevicemay
selectpartoftheimageandrotatethatselection.
Image format
Youcansettheformat,qualityandscalingforimagesthataresubmittedbytheCameraelement.
Right-clicktheCameraelementafteraddingittotheform,selectCamera propertiesandeditthe
Imageproperties:
l
Format:TheimageformatcanbePNGorJPG.
l
Quality:Setthecompressioninapercentage.
Page 532