return dataURL.replace(/^data:image\/(png|jpg);base64,/, "");. } http://stackoverflow.com/questions/934012/get-image-data-in-javascript.
確定! 回上一頁