From f3cf194d1ab7ff9c1d595a4e6df240fc9ca0b2fc Mon Sep 17 00:00:00 2001 From: "tiago.kayaya" Date: Wed, 10 Feb 2021 17:00:11 +0100 Subject: [PATCH] save --- .../publications/new-publication/new-publication.page.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/pages/publications/new-publication/new-publication.page.ts b/src/app/pages/publications/new-publication/new-publication.page.ts index f880d08dc..729e8206c 100644 --- a/src/app/pages/publications/new-publication/new-publication.page.ts +++ b/src/app/pages/publications/new-publication/new-publication.page.ts @@ -66,7 +66,7 @@ export class NewPublicationPage implements OnInit { } takePicture(){ const options: CameraOptions = { - quality: 100, + quality: 90, destinationType: this.camera.DestinationType.DATA_URL, encodingType: this.camera.EncodingType.JPEG, mediaType: this.camera.MediaType.PICTURE, @@ -86,8 +86,8 @@ export class NewPublicationPage implements OnInit { } getPicture(){ - /* const options: CameraOptions = { - quality: 100, + const options: CameraOptions = { + quality: 90, sourceType: this.camera.PictureSourceType.PHOTOLIBRARY, destinationType: this.camera.DestinationType.DATA_URL, encodingType: this.camera.EncodingType.JPEG, @@ -103,7 +103,7 @@ export class NewPublicationPage implements OnInit { this.capturedImageTitle = new Date().getTime() + '.jpeg'; }, (err) => { console.log(err); - }); */ + }); } async save(){