Use correct image size

This commit is contained in:
Angela Mazzurco 2017-09-11 16:36:59 +02:00
parent 1fdd190fb0
commit cd2e18f27b

View File

@ -138,9 +138,8 @@ Item
}
// canvasAvatar.images = onloads
// canvasAvatar.callback = callback
var datas = androidImagePicker.faceImage(onloads, iconSize)
console.log("@@@@@@@ url " , datas)
callback("data:image/png;base64,"+datas)
var base64Image = androidImagePicker.faceImage(onloads, canvasSizes)
callback("data:image/png;base64,"+base64Image)
// canvasAvatar.requestPaint()
}