使用圖像文件,我正在獲取圖像的url,需要將其發送到Web服務。從那里開始,圖像必須本地保存在我的系統上。我正在使用的代碼:var imagepath = $("#imageid").val();// from this getting the path of the selected imagethat var st = imagepath.replace(data:image/png or jpg; base64"/"");如何將圖片網址轉換為BASE64?
將圖片網址轉換為Base64
慕姐8265434
2019-10-17 15:20:42