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.images = onloads
// canvasAvatar.callback = callback // canvasAvatar.callback = callback
var datas = androidImagePicker.faceImage(onloads, iconSize) var base64Image = androidImagePicker.faceImage(onloads, canvasSizes)
console.log("@@@@@@@ url " , datas) callback("data:image/png;base64,"+base64Image)
callback("data:image/png;base64,"+datas)
// canvasAvatar.requestPaint() // canvasAvatar.requestPaint()
} }