|
@@ -189,12 +189,12 @@ export class StoreQCScanningPage implements OnInit {
|
|
|
|
|
|
takePicture(qc) {
|
|
|
const options: CameraOptions = {
|
|
|
- quality: 100,
|
|
|
+ quality: 90,
|
|
|
destinationType: this.camera.DestinationType.DATA_URL,
|
|
|
- encodingType: this.camera.EncodingType.PNG,
|
|
|
+ encodingType: this.camera.EncodingType.JPEG,
|
|
|
mediaType: this.camera.MediaType.PICTURE,
|
|
|
- targetWidth: 1500,
|
|
|
- targetHeight: 1125
|
|
|
+ targetWidth: 1800,
|
|
|
+ targetHeight: 1350
|
|
|
}
|
|
|
|
|
|
this.camera.getPicture(options).then((imageData) => {
|