You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After selecting the photo, the returned base64 string is incomplete,However, I set the height below 200, and the returned base64 string is complete, but the picture is too blurry
The text was updated successfully, but these errors were encountered:
this.imagePicker.getPictures(options).then((results) => {
if (results) {
if (type == 'top') {
for (var i = 0; i < results.length; i++) {
this.imageUrl = 'data:image/jpg;base64,' + results[i];
this.frontImg = results[i];
console.log('Image URI: ' + results[i]);
}
} else {
for (var j = 0; j < results.length; j++) {
this.imageUrlBack = 'data:image/jpg;base64,' + results[j];
this.backImg = results[j];
}
}
}
this.nativeService.hideLoading();
}, (err) => {
this.nativeService.hideLoading();
alert(err);
});
After selecting the photo, the returned base64 string is incomplete,However, I set the height below 200, and the returned base64 string is complete, but the picture is too blurry
The text was updated successfully, but these errors were encountered: