хочу конвертировать imageAsset в base64.
Пример кода ниже,
методы: {
takePicture() {
camera.takePicture({ width: 300, height: 300, keepAspectRatio: true, saveToGallery: false})
.then(imageAsset => {
this.pictureFromCamera = imageAsset;
var image = new Image();
image.src = imageAsset;
console.log(imageAsset);