使用一个图像文件,我得到了一个图像的url,需要发送到一个Web服务.从那里图像必须保存在我的系统本地.
我使用的代码是:
var imagepath = $("#imageid").val();// from this getting the path of the selected image
that var st = imagepath.replace(data:image/png or jpg; base64"/"");
How to convert the image url to BASE64?