I am working on mobile app development. I am uploading image in base64 string format. i want image name and image size from base64 image string.
$("body").append("<img id='hiddenImage' src='" + "data:image/jpeg;base64," + imageData + "' />");
var file_size = $('#hiddenImage').size();
alert(file_size);
var width = $('#hiddenImage').width();
var height = $('#hiddenImage').height();
$('#hiddenImage').remove();
alert("width:" + width + " height:" + height);