I am developing a mobile application using Ionic 4. Everything is working smoothly, but i could not save the picture when i call the function takePicture(). Does it have any parametes like saveToPhotoAlbum like Ionic Camera Plugin. Do help me out.
cameraPictureOpts: CameraPreviewPictureOptions = {
width: window.innerWidth,
height: window.innerHeight,
quality: 100
}
takePicture() {
let result = this.cameraPreview.takePicture(this.cameraPictureOpts);
let picture = `data:image/jpeg;base64,${result}`;
}