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(){
|
takePicture(){
|
||||||
const options: CameraOptions = {
|
const options: CameraOptions = {
|
||||||
quality: 100,
|
quality: 90,
|
||||||
destinationType: this.camera.DestinationType.DATA_URL,
|
destinationType: this.camera.DestinationType.DATA_URL,
|
||||||
encodingType: this.camera.EncodingType.JPEG,
|
encodingType: this.camera.EncodingType.JPEG,
|
||||||
mediaType: this.camera.MediaType.PICTURE,
|
mediaType: this.camera.MediaType.PICTURE,
|
||||||
@@ -86,8 +86,8 @@ export class NewPublicationPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getPicture(){
|
getPicture(){
|
||||||
/* const options: CameraOptions = {
|
const options: CameraOptions = {
|
||||||
quality: 100,
|
quality: 90,
|
||||||
sourceType: this.camera.PictureSourceType.PHOTOLIBRARY,
|
sourceType: this.camera.PictureSourceType.PHOTOLIBRARY,
|
||||||
destinationType: this.camera.DestinationType.DATA_URL,
|
destinationType: this.camera.DestinationType.DATA_URL,
|
||||||
encodingType: this.camera.EncodingType.JPEG,
|
encodingType: this.camera.EncodingType.JPEG,
|
||||||
@@ -103,7 +103,7 @@ export class NewPublicationPage implements OnInit {
|
|||||||
this.capturedImageTitle = new Date().getTime() + '.jpeg';
|
this.capturedImageTitle = new Date().getTime() + '.jpeg';
|
||||||
}, (err) => {
|
}, (err) => {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
}); */
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
async save(){
|
async save(){
|
||||||
|
|||||||
Reference in New Issue
Block a user