Allow simple editing of image before selection.
Choose the camera to use (front- or back-facing). Defined in navigator.camera.Direction
Rotate the image to correct for the orientation of the device during capture.
Choose the format of the return value. Defined in navigator.camera.DestinationType DATA_URL : 0, Return image as base64-encoded string FILE_URI : 1, Return image file URI NATIVE_URI : 2 Return image native URI (e.g., assets-library:// on iOS or content:// on Android)
Choose the returned image file's encoding. Defined in navigator.camera.EncodingType JPEG : 0 Return JPEG encoded image PNG : 1 Return PNG encoded image
Set the type of media to select from. Only works when PictureSourceType is PHOTOLIBRARY or SAVEDPHOTOALBUM. Defined in nagivator.camera.MediaType PICTURE: 0 allow selection of still pictures only. DEFAULT. Will return format specified via DestinationType VIDEO: 1 allow selection of video only, WILL ALWAYS RETURN FILE_URI ALLMEDIA : 2 allow selection from all media types
iOS-only options that specify popover location in iPad. Defined in CameraPopoverOptions.
Picture quality in range o-100
Save the image to the photo album on the device after capture.
Set the source of the picture. Defined in navigator.camera.PictureSourceType PHOTOLIBRARY : 0, CAMERA : 1, SAVEDPHOTOALBUM : 2
Height in pixels to scale image. Must be used with targetWidth. Aspect ratio remains constant.
Width in pixels to scale image. Must be used with targetHeight. Aspect ratio remains constant.