mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
save
This commit is contained in:
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user